nvim-lspinstall icon indicating copy to clipboard operation
nvim-lspinstall copied to clipboard

diagnosticls causes issues when opening lua files

Open petertriho opened this issue 3 years ago • 5 comments

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

petertriho avatar May 16 '21 10:05 petertriho

Thanks for reporting, will look into it

kabouzeid avatar May 16 '21 10:05 kabouzeid

@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

Aslemammad avatar May 28 '21 03:05 Aslemammad

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

petertriho avatar May 28 '21 04:05 petertriho

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

lspinstall

n3wborn avatar Jun 03 '21 18:06 n3wborn

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

AndOrangutan avatar Jun 16 '21 00:06 AndOrangutan