mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-14 15:46:56 -05:00
refactor(:lang): redo tree-sitter hooks
- bind to major-mode-local-vars-hook instead of major mode hook - bind the autodef tree-sitter! instead of the functions.
This commit is contained in:
@@ -121,6 +121,4 @@
|
||||
|
||||
;; Tree sitter
|
||||
(eval-when! (featurep! +tree-sitter)
|
||||
(add-hook! 'tuareg-mode-hook
|
||||
#'turn-on-tree-sitter-mode
|
||||
#'+tree-sitter-keys-mode))
|
||||
(add-hook! 'tuareg-mode-local-vars-hook #'tree-sitter))
|
||||
|
Reference in New Issue
Block a user