mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
feat(web): add treesit support (for html/css)
This commit is contained in:
@@ -73,5 +73,10 @@ If set to `nil', disable all the above behaviors.")
|
||||
less-css-mode-local-vars-hook)
|
||||
:append #'lsp!))
|
||||
|
||||
(when (modulep! +tree-sitter)
|
||||
(add-hook 'css-mode-local-vars-hook #'tree-sitter! 'append))
|
||||
|
||||
(use-package! css-ts-mode
|
||||
:when (modulep! +tree-sitter)
|
||||
:when (fboundp 'css-ts-mode) ; 29.1+ only
|
||||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'css-mode 'css-ts-mode 'css))
|
||||
|
Reference in New Issue
Block a user