A lot of trouble with the new #Vue#LSP.

First, it disables all other typescript LSPs, even if there is no Vue in the project; fortunately, this can be fixed with:

(setq lsp-volar-take-over-mode nil)

Maybe a better way would be to advise lsp-volar--activate-p&#39; to detect Vue by parsing package.json.</p><p>Second, somehow the server sends empty &quot;textDocument/publishDiagnostics&quot; messages about a second after sending one with diagnostics! As a result, the diagnostics appear for a second and then disappear.</p><p>For now, I&#39;ve worked around that by advising lsp--on-diagnostics' to ignore empty messages if they come less than five seconds after a non-empty one. Not sure where to go next with this.

The code: https://sqrtminusone.xyz/configs/emacs/#fix-vue-semantic-server

Finally, the server sometimes crashes randomly. It happened once or twice today.

#Emacs