Closed geekingfrog closed 2 years ago
Thank you for been so accurate on the desciption. Can i also ask you:
1) what language server are you using?
2) is this happening when you use the :CodeAction
comand or even using the async handlers? (from the vimrc config snippet seams the CodeAction
command because i don't se the setup call for the fzf_lsp, but i wanna make sure to chase the right problem)
I'm using rust-analyzer, with the following setup:
cargo new testproject
cd testproject
cat > src/main.rs <<EOF
fn main() {
let m = BTreeMap::new();
println!("Hello, world!");
}
EOF
Then open src/main.rs
, put the cursor on the BTreeMap
and attempt to automatically add the import (use std::collections::BTreeMap
)
This is happening when calling CodeAction
command, which ultimately is going to use an async handler inside fzf_code_actions
Ok no problem i've found it, the last commit should have fix that (hopefully forever :sweat_smile:) let me know if it works
To try just call :PlugUpdate
It woooooorks :partying_face: thanks for the quick update.
It seems this commit didn't quite fix #22. I tried to debug it for a while but couldn't figure out the reason. Here's what I have so far:
(not I have the same issue with 6.1)
vimrc used:
When choosing the action to execute, nothing happens and I get the following in
:messages:
It seems the
action
table passed to the client holds some un-serializable attribute, but when I tried to inspect it further I got nothing, and no metatable. I'm not sure what's going on.