mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
fix(php): php-ts-mode not activating
Because `php-mode` uses `php-mode-maybe` to delegate between php-mode/web-mode, thus dodging any major mode remapping. Fix: doomemacs/community/#27
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
:when (modulep! +tree-sitter)
|
||||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'php-mode 'php-ts-mode
|
||||
(set-tree-sitter! '(php-mode php-mode-maybe) 'php-ts-mode
|
||||
'((php :url "https://github.com/tree-sitter/tree-sitter-php"
|
||||
:rev "v0.23.11"
|
||||
:commit "f7cf7348737d8cff1b13407a0bfedce02ee7b046"
|
||||
|
Reference in New Issue
Block a user