kabouzeid / nvim-lspinstall

Provides the missing :LspInstall for nvim-lspconfig
MIT License
526 stars 67 forks source link

diagnosticls causes issues when opening lua files #60

Open petertriho opened 3 years ago

petertriho commented 3 years ago

Current config: https://github.com/petertriho/dotfiles/blob/lua/nvim/.config/nvim/lua/plugins/lsp.lua

Whenever I open a lua file I see the following errors:

Error detected while processing FileType Autocommands for "lua":
E492: Not an editor command: require'lspconfig'["diagnosticls"].manager.try_add()

Error goes away when I uninstall diagnosticls and doesn't occur with other file types

kabouzeid commented 3 years ago

Thanks for reporting, will look into it

Aslemammad commented 3 years ago

@kabouzeid I got the same issue, and I'm using the same config the wiki suggested using. Thanks for your great work; I love nvim-lspinstall. image

petertriho commented 3 years ago

I've switched to efm langserver and haven't had any issues

n3wborn commented 3 years ago

Same problem for me using recommended configuration. NVIM v0.5.0-dev+1372-g056c464e8

lspinstall

AndOrangutan commented 3 years ago

Just wanted to say that I ran into the same experience as everyone else here.