-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
use vim.ui.select and vim.ui.input #138
Comments
For the code action this can be easily worked around by simply using vim.keymap.set({ 'n', 'v' }, 'ga', vim.lsp.buf.code_action, { silent = true, buffer = bufnr }) But I think this feature request is relevant, since the documentation promotes RustLsp('codeAction') |
Hey 👋 rust-analyzer provides code actions with additional "group" information. I could do the following:
I'm attending an unconference until Jan 12th, so I might not get around to it until then. PRs are more than welcome, of course 😃 |
Do you have a list or a link to documentation describing those "groups"? I tried finding them on https://rust-analyzer.github.io/manual.html, but couldn't. I also switched to using |
It's an experimental feature: https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/lsp-extensions.md#codeaction-groups You shouldn't be missing out on hidden actions with Neovim's built-in code actions. |
Feature description
It seems that dialogs like
lua vim.cmd.RustLsp('codeAction')
doesn't use vim.ui.select, which makes custom input likehttps://github.com/stevearc/dressing.nvim and https://github.com/nvim-telescope/telescope-ui-select.nvim, not work.
So, it would be nice if the code actions could (and other relevant parts) could use vim.ui.select (and vim.ui.input when that is appropriate).
The text was updated successfully, but these errors were encountered: