autozimu / LanguageClient-neovim

Language Server Protocol (LSP) support for vim and neovim.
MIT License
3.55k stars 272 forks source link

[Windows] A way to kill languageclient process? #567

Open Anrock opened 6 years ago

Anrock commented 6 years ago

Is your feature request related to a problem? Please describe.

Every time i run PlugUpdate on Windows it fails to replace bin/languageclient file. The reason is that on Windows it's impossible to overwrite binary if it's launched because file is busy.

Describe the solution you'd like

Some command to kill languageclient binary, so i can change my after update script to first kill languageclient, then launch install.ps1 and launch client again. As alternative, if it's possible, don't launch languageclient binary until it's really needed, so i can atleast update plugins when no buffers with lsp support are opened.

Describe alternatives you've considered

Right now i'm after updating all plugins i quit nvim and launch install.ps1 manually, which isn't really convenient.

Anrock commented 6 years ago

@autozimu ping

Anrock commented 6 years ago

@autozimu ping

Anrock commented 5 years ago

@autozimu ping