mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor!(tree-sitter): add +tree-sitter flag
BREAKING CHANGE: break the global nature of the tree sitter module by adding a +tree-sitter flag to every applicable module In the background this hooks turn-on-tree-sitter-mode to the major-mode-hook of the language. This may also solve the eager loading of tree sitter
This commit is contained in:
@ -81,3 +81,7 @@
|
||||
(set-lookup-handlers! 'rustic-mode
|
||||
:definition '(racer-find-definition :async t)
|
||||
:documentation '+rust-racer-lookup-documentation))
|
||||
|
||||
;; Tree sitter
|
||||
(eval-when! (featurep! +tree-sitter)
|
||||
(add-hook! 'rustic-mode-hook #'turn-on-tree-sitter-mode))
|
||||
|
Reference in New Issue
Block a user