Only enable treesit for modes where treesit-ready-p is true
This commit is contained in:
parent
d6fcc00bd4
commit
153541e842
2 changed files with 2 additions and 2 deletions
|
@ -1527,7 +1527,7 @@ a later date.
|
|||
:ensure t
|
||||
:config
|
||||
(setq treesit-auto-install 'prompt)
|
||||
(treesit-auto-add-to-auto-mode-alist 'all)
|
||||
(treesit-auto-add-to-auto-mode-alist)
|
||||
(global-treesit-auto-mode)))
|
||||
#+end_src
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
:ensure t
|
||||
:config
|
||||
(setq treesit-auto-install 'prompt)
|
||||
(treesit-auto-add-to-auto-mode-alist 'all)
|
||||
(treesit-auto-add-to-auto-mode-alist)
|
||||
(global-treesit-auto-mode)))
|
||||
|
||||
;;; Mark syntactic constructs efficiently if tree-sitter is available (expreg)
|
||||
|
|
Loading…
Reference in a new issue