vim-lsp icon indicating copy to clipboard operation
vim-lsp copied to clipboard

LspStopServer only works for a few seconds, server auto-starts

Open rubin55 opened this issue 1 year ago • 2 comments
trafficstars

I sometimes work with a file where I don't want an LSP server to be enabled, maybe because I don't have a .dtd for an XML file, or maybe because I know bash_language_server will complain about a PKGBUILD but it's not helpful at that moment.

When I :LspStopServer, I see the server stopping and the highlighting stops, but a few seconds later, the server seems to start itself again. What is the point of :LspStopServer if it doesn't actually stop a server? Should I use some other command?

rubin55 avatar Apr 19 '24 10:04 rubin55

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 27 '25 00:04 stale[bot]

Same issue here. The lsp server always restarts after :LspStopServer.

ckyoog avatar Jun 10 '25 21:06 ckyoog