A lot of trouble with the new .

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' to detect Vue by parsing package.json.

Second, somehow the server sends empty "textDocument/publishDiagnostics" messages about a second after sending one with diagnostics! As a result, the diagnostics appear for a second and then disappear.

For now, I'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: sqrtminusone.xyz/configs/emacs

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

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/sqrtminusone/statuses/114372515446062898 on your instance and quote it. (Note that quoting is not supported in Mastodon.)