prabirshrestha / vim-lsp

async language server protocol plugin for vim and neovim
MIT License
3.07k stars 303 forks source link

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

Open rubin55 opened 3 months ago

rubin55 commented 3 months ago

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?