tweak(web): add nxml mode to LSP enabled modes
Since lsp-mode supports XML (see https://emacs-lsp.github.io/lsp-mode/page/lsp-xml/), it makes sense to add nxml-mode to the list of automatically enabled lsp mode clients.
This commit is contained in:
parent
07f2d17a11
commit
595a5e665c
1 changed files with 2 additions and 1 deletions
|
@ -165,5 +165,6 @@
|
|||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook! '(html-mode-local-vars-hook
|
||||
web-mode-local-vars-hook)
|
||||
web-mode-local-vars-hook
|
||||
nxml-mode-local-vars-hook)
|
||||
#'lsp!))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue