Closed koopa1338 closed 3 years ago
I can confirm this problem occurs for me as well using code actions with rust-analyzer.
The issue does not occur when using the C# Omnisharp-roslyn server. There results are as expected.
The sumneko language server also works. Im currently not at home, but could test some more but I dont think that the rust-analyzer is the issue here as the vim.lsp.buf.code_action()
call works just fine.
I can reproduce. It worked last friday, for me. I will look at it in the next couple of days.
Thanks for reporting :)
Took me a day longer. I am sorry for that. Anyone has time to test https://github.com/nvim-telescope/telescope.nvim/pull/1311
It works for me with that PR
@Conni2461 tested your PR and can confirm that it fixes the issue.
Description
Error when selecting an code action:
Example of the code action data that
vim.lsp.buf.execute_command
is receiving by triggering the code actionimplement missing members
in a rust file:Neovim version
NVIM v0.6.0-dev+386-gad1c42a97 Build type: RelWithDebInfo LuaJIT 2.0.5
Operating system and version
Linux Archer 5.14.8-arch1-1
checkhealth telescope
Steps to reproduce
nvim -nu minimal.lua test.rs
:lua require('telescope.builtin').lsp_code_actions()
Generate impl for Test
)Expected behavior
The correct code action should be executed
Actual behavior
Error with message:
Minimal config