fix(:lang): ensure lsp! is always appended to hooks
This commit is contained in:
parent
a70e634ebd
commit
9cb4c8b637
7 changed files with 12 additions and 10 deletions
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue