Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karimaziev/prettify-tide
Prettify tide documentation buffers.
https://github.com/karimaziev/prettify-tide
Last synced: 4 days ago
JSON representation
Prettify tide documentation buffers.
- Host: GitHub
- URL: https://github.com/karimaziev/prettify-tide
- Owner: KarimAziev
- License: gpl-3.0
- Created: 2023-03-09T11:51:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-09T09:32:56.000Z (11 months ago)
- Last Synced: 2023-12-09T10:28:57.809Z (11 months ago)
- Language: Emacs Lisp
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* prettify-tide
Run prettier on documentation buffers of [[https://github.com/ananthakumaran/tide][tide]].
** Installation
- Emacs >= 26.1 is required.
- [[https://prettier.io/][prettier]] (either global or local)*** Manual
Download the source code and put it wherever you like, e.g. into =~/.emacs.d/prettify-tide/=
#+begin_src shell :eval no
git clone https://github.com/KarimAziev/prettify-tide.git ~/.emacs.d/prettify-tide/
#+end_srcAdd the downloaded directory to the load path:
#+begin_src elisp :eval no
(add-to-list 'load-path "~/.emacs.d/prettify-tide/")
(require 'prettify-tide)
#+end_srcAdd advice to =tide-construct-documentation=.
#+begin_src elisp :eval no
(with-eval-after-load 'tide
(prettify-tide-add-advice))
#+end_src*** With use-package and straight.el
#+begin_src elisp :eval no
(use-package prettify-tide
:straight (prettify-tide
:repo "KarimAziev/prettify-tide"
:type git
:host github)
:after (tide)
:demand t
:config
(prettify-tide-add-advice))
#+end_src