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)
This commit is contained in:
Vincenzo Pupillo 2024-12-04 15:06:54 +01:00 committed by Eli Zaretskii
parent e7fdf6b68c
commit c87c5b95e1

View file

@ -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)))