I used npm --global to install vim-language-server and it is installed to C:\Users\rainy\AppData\Roaming\npm
When calling :LspInstall vimls it says it is already installed, same for jsonls.
Also have similar issue with the other LSPs I have installed, rust/pyls
Calling :PlugInstallInfo rls returns
E5108: Error executing lua ...\.config\nvim\autoload\plugged\nvim-lsp\lua\nvim_lsp.lua:63: attempt to call field 'install_info' (a nil value)
but rls.exe available through my PATH, same result for pyls
Upon opening a .vim file I also get this error:
Error detected while processing FileType Autocommands for "vim":
E5108: Error executing lua C:\Neovim\share\nvim\runtime\lua\vim\lsp\rpc.lua:268: attempt to index upvalue 'handle' (a nil value)
*edit - Have working config on linux, same config doesn't work on windows, getting above error still when opening .vim files
How to reproduce the problem from neovim startup
Launch neovim on Windows
:LspInstallInfo vimls
Actual behaviour
is_installed = false
LSP doesn't work
Expected behaviour
is_installed = true
and the LSP works
Notes
Also discovered that this plugin breaks some lua functions for vim-clap, specifically searching a file for text with the grep function.
nvim --version
: NVIM v0.5.0-574-g352831229:checkhealth
result: Everything OK, INFO: vimls: configuration checked., no python2$TERM
:Getting this error with
:LspInstallInfo vimls
and same for jsonlsI used
npm --global
to installvim-language-server
and it is installed toC:\Users\rainy\AppData\Roaming\npm
When calling
:LspInstall vimls
it says it is already installed, same for jsonls.Also have similar issue with the other LSPs I have installed, rust/pyls Calling
:PlugInstallInfo rls
returnsbut rls.exe available through my PATH, same result for pyls
Upon opening a .vim file I also get this error:
*edit - Have working config on linux, same config doesn't work on windows, getting above error still when opening .vim files
How to reproduce the problem from neovim startup
Launch neovim on Windows :LspInstallInfo vimls
Actual behaviour
is_installed = false LSP doesn't work
Expected behaviour
is_installed = true and the LSP works
Notes
Also discovered that this plugin breaks some lua functions for vim-clap, specifically searching a file for text with the grep function.