mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-06 09:12:42 -08: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:
parent
d1289bf8cf
commit
2542f7838f
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue