You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any idea how I'd integrate this with the neovim built-in LSP?
I'm using lspconfig, but they only have a config for the sumneko Lua lsp, which IMHO is far too complex to set up just to get an LSP (you have to install several dependencies and build from source).
I'd much prefer to use this one, but I'm not sure how to configure it with the neovim built-in LSP?
The text was updated successfully, but these errors were encountered:
So just as a caveat, I haven't been updating this package that often, or even using it more than on weekends! Sumneko's package is better maintained, has more features, and all that good stuff.
That said: I looked really quickly at how the native LSP system works and supporting it seems pretty easy, even without making upstream changes. The official docs make use of a "cmd" parameter, since we don't use any weird configs and neither does sumneko's server, this means they are totally interchangeable on that level. just swap out the sumneko binary with a call to your lua-lsp command.
we can just swap the entire cmd to something like so
locallua_lsp_binary="<>" -- call `which lua-lsp` on your machine and paste the result here, or do something more complicated like the original examplerequire'lspconfig'.sumneko_lua.setup {
cmd= {lua_lsp_binary};
settings= {},
},
}
Any idea how I'd integrate this with the neovim built-in LSP?
I'm using lspconfig, but they only have a config for the sumneko Lua lsp, which IMHO is far too complex to set up just to get an LSP (you have to install several dependencies and build from source).
I'd much prefer to use this one, but I'm not sure how to configure it with the neovim built-in LSP?
The text was updated successfully, but these errors were encountered: