Open mrcjkb opened 3 months ago
If the LSP is "lightweight enough" (which I can imagine it being, since it's just reading a TOML file and providing basic diagnostics by using the library), we could happily make a rocks lsp
subcommand that would launch the LSP.
We could gate this behind a feature flag for convenience, if someone really doesn't want the subcommand nor its dependencies :)
rocks.toml
[^1]: Would need the ability to query installed rocks - which has a different tree structure than rocks when installed with luarocks.
rocks
is the right tool for this, but I think it would have better performance being in a separate process than within Neovim.rocks-lsp-lib
crate, to keep it separate fromrocks-lib
?