tree-sitter-hl's highlighting is currently not as good as web-mode's for multi-lang use cases, and seems to interact weirdly with web-mode.
For now, users that specifically want to choose tree-sitter-hl over web-mode should modify tree-sitter-major-mode-language-alist on their own, or use web-mode-hook.
tree-sitter-hl
's highlighting is currently not as good asweb-mode
's for multi-lang use cases, and seems to interact weirdly withweb-mode
.For now, users that specifically want to choose
tree-sitter-hl
overweb-mode
should modifytree-sitter-major-mode-language-alist
on their own, or useweb-mode-hook
.