Don't call font-lock-mode in treesit-major-mode-setup (bug#66223)
* lisp/treesit.el (treesit-major-mode-setup): Remove.
This commit is contained in:
parent
1f850d8d7b
commit
a3a840c80a
1 changed files with 0 additions and 1 deletions
|
|
@ -2733,7 +2733,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