Remove unnecessary function call from 'php-ts-mode'
* lisp/progmodes/php-ts-mode.el (php-ts-mode): Remove
unnecessary function call 'treesit-font-lock-recompute-features'.
(Bug#74688)
(cherry picked from commit c87c5b95e1)
This commit is contained in:
committed by
Eli Zaretskii
parent
3cf177442c
commit
84fc77f34f
@@ -1557,7 +1557,6 @@ Depends on `c-ts-common-comment-setup'."
|
||||
|
||||
;; should be the last one
|
||||
(setq-local treesit-primary-parser (treesit-parser-create 'php))
|
||||
(treesit-font-lock-recompute-features)
|
||||
(treesit-major-mode-setup)
|
||||
(add-hook 'flymake-diagnostic-functions #'php-ts-mode-flymake-php nil 'local)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user