fix(:lang): ensure lsp! is always appended to hooks

This commit is contained in:
Henrik Lissner 2022-07-25 18:12:03 +02:00
parent a70e634ebd
commit 9cb4c8b637
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
7 changed files with 12 additions and 10 deletions

View file

@ -76,7 +76,7 @@ If set to `nil', disable all the above behaviors.")
scss-mode-local-vars-hook
sass-mode-local-vars-hook
less-css-mode-local-vars-hook)
#'lsp!))
:append #'lsp!))
(when (featurep! +tree-sitter)
(add-hook 'css-mode-local-vars-hook #'tree-sitter! 'append))

View file

@ -167,7 +167,7 @@
(add-hook! '(html-mode-local-vars-hook
web-mode-local-vars-hook
nxml-mode-local-vars-hook)
#'lsp!))
:append #'lsp!))
(when (featurep! +tree-sitter)
(add-hook! '(html-mode-local-vars-hook