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:
parent
53292c5d81
commit
73ccd9d295
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue