emacs: Add treesit-auto
This commit is contained in:
parent
9792380d52
commit
a756951d4b
1 changed files with 9 additions and 0 deletions
|
@ -916,6 +916,15 @@ Visualise git changes in the gutter, next to the line numbers
|
|||
:after tree-sitter)
|
||||
#+end_src
|
||||
|
||||
Automatically use the =<lang>-ts-mode= when it is available
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package treesit-auto
|
||||
:config
|
||||
(setq treesit-auto-install 'prompt)
|
||||
(global-treesit-auto-mode))
|
||||
#+end_src
|
||||
|
||||
*** lsp-mode
|
||||
|
||||
[[https://emacs-lsp.github.io/lsp-mode][lsp-mode]] adds Language Server Protocol support to emacs.
|
||||
|
|
Loading…
Reference in a new issue