Don't call font-lock-mode in treesit-major-mode-setup (bug#66223)
* lisp/treesit.el (treesit-major-mode-setup): Remove.
(cherry picked from commit a3a840c80a)
This commit is contained in:
@@ -2386,7 +2386,6 @@ before calling this function."
|
||||
'( nil nil nil nil
|
||||
(font-lock-fontify-syntactically-function
|
||||
. treesit-font-lock-fontify-region)))
|
||||
(font-lock-mode 1)
|
||||
(treesit-font-lock-recompute-features)
|
||||
(dolist (parser (treesit-parser-list))
|
||||
(treesit-parser-add-notifier
|
||||
|
||||
Reference in New Issue
Block a user