nvim-neorocks / rocks

An alternative frontend app for luarocks.org
MIT License
24 stars 1 forks source link

[Feature] `rocks --lsp` command for `rocks.toml` #23

Open mrcjkb opened 3 months ago

mrcjkb commented 3 months ago

[^1]: Would need the ability to query installed rocks - which has a different tree structure than rocks when installed with luarocks.

vhyrro commented 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 :)