Closed
Description
When I start up the server, I get these errors sometimes (haven't found a consistent root cause), as time goes on it will eventually fail entirely with this error. Trying to "restart" the server fails with this error. If i restart the editor SOMETIMES it will work but then eventually fail.
...m/lsp/client.lua:623 "LSP[rust-analyzer]" "Cannot find request with id 3715 whilst attempting to cancel"
.../lua/vim/lsp.lua:393 "rust-analyzer does not have a configuration"
rust-analyzer version: latest and currently trying 0.3.2291
rustc version: 1.86 and 1.83
editor or extension: VScode and Nvim (0.11)
relevant settings: VScode (default),
Nvim:
return {
"mrcjkb/rustaceanvim",
opts = {
server = {
settings = {
["rust-analyzer"] = {
cargo = {
extraEnv = { CARGO_TARGET_DIR = ".ra_target" },
features = "all",
},
check = {
features = "all",
},
},
},
},
},
}
code snippet to reproduce:
n/a
Posted on LSP prabirshrestha/vim-lsp#1599 too