rust-tools.nvim
rust-tools.nvim copied to clipboard
RustReloadWorkspace Erorr!!!
Error while run :RustReloadWorkspace.
Error executing vim.schedule lua callback: ...art/rust-tools.nvim/lua/rust-tools/workspace_refresh.lua:5: RPC[Error] code_name = MethodNotFound, message = "method not suported: rust-analyzer/reloadWorkspace" stack traceback":
[C]: in function 'error'
...art/rust-tools.nvim/lua/rust-tools/workspace_refresh.lua:5: in function 'handler'
...mount_nvimrs76CS/usr/share/nvim/runtime/lua/vim/lsp.lua:1396: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Press ENTER or type command to continue
Cargo workspace reloaded
Press ENTER or type command to continue
@Ritzier a couple questions:
- Are you using Copilot?
- Can you share a screenshot of what is displayed when you run
LspInfoin whatever context generated this error?
Thanks!
I've been facing this error and it seems to me that the issue is caused by the reload_workspace function making the assumption that it is the only registered LSP for a Rust buffer.
Will test and determine if this is the case. If so, I'll fix it and submit a PR.