nvim-oxi
nvim-oxi copied to clipboard
Support for `vim.lsp`
Seems like these would require bindings directly to lua by fetching globals, since a lot of the LSP/Diagnostics stuff is implemented in Lua. Would you be open to someone contributing that? That's the approach I was taking with nvim-utils
, but honestly I'd rather contribute those features to oxi
and archive utils
as it's not getting much use and oxi
provides a better (and faster) API.
Seems like these would require bindings directly to lua by fetching globals, since a lot of the LSP/Diagnostics stuff is implemented in Lua.
Yes, that'd be the approach. This is a very rough sketch of such a binding that I wrote for vim.diagnostic.enable
.
Would you be open to someone contributing that?
Yes, although I should mention that I don't really have the time to focus on oxi right now (and probably won't for a few months). What this means practically is that you might have to wait a few days to receive feedback on the relative PRs.
No worries! I don't actively need nvim LSP features in Rust so there's no rush, just think it would be nice to have and would be happy to contribute :)
I should also mention that I was planning to rewrite Neovim's vim.lsp
+ nvim-lspconfig
+ lspsaga.nvim
+ any-lsp-related-stuff-that-should-be-builtin-instead-of-being-relegated-to-a-3rd-party-plugin
in Rust as part of a new project, hopefully before EOY.
However, this is not to say that I wouldn't merge the Rust bindings to vim.lsp
into oxi.
Cool! Would be nice to have those implemented in Rust.