-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full Support for SnippetTextEdits in CodeAction #412
Labels
enhancement
New feature or request
Comments
Hey 👋 I will gladly look into picking this up. However, it looks like it will take some time, as there may be things that need to be ironed out in luasnip. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
It would be nice to have support for SnippetTextEdits in code actions considering how much rust-analyzer uses it for assists
https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/lsp-extensions.md#snippet-textedit
its actually part of the upcoming 3.18 lsp protocol, but I don't know when that means neovim core will support it.
I don't know if native
vim.snippets
supports enough for it but actually either way it would be nice for the snippet function to be overridable so, for example, LuaSnip users can use it with LuaSnipReference: L3MON4D3/LuaSnip#235
Half? an implementation previously: https://github.com/simrat39/rust-tools.nvim/tree/snippet_text_edits
The text was updated successfully, but these errors were encountered: