How to use XML lsp? #3527
-
Hi, My goal is to activate XML language server using LSP mode. Unfortunately, I was unable to complete and I cannot see any suggestions or auto-completion but I was able to see the spell check, auto-completion and suggestions for Java. I have configured it by referring this doc - https://emacs-lsp.github.io/lsp-java/ and added
to I tried by referring to this doc for XML - https://emacs-lsp.github.io/lsp-mode/page/lsp-xml/ and tried executing the command like
to
to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
What do do you get when you do |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
(add-hook 'xml-mode-hook #'lsp)
that should be(add-hook 'nxml-mode-hook #'lsp)