Closed YuhanLiin closed 1 month ago
Can't reproduce, what code action do you run?
It happens with every code action I've tried
My CocConfig BTW:
{
"coc.preferences.formatOnSaveFiletypes": ["rust"],
"diagnostic.enable": true,
"diagnostic.checkCurrentLine": false,
"languageserver": {},
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.loadOutDirsFromCheck": true,
"workspace.ignoredFolders": [
"$HOME",
"$HOME/.cargo/**",
"$HOME/.rustup/**"
],
"rust-analyzer.procMacro.enable": true
}
OK I just removed coc-rust-analyzer
from my vimrc and reinstalled it via CocInstall
, and now code actions work again.
Result from CocInfo
Extensions
coc-rust-analyzer
: 0.76.1Describe the bug
When I try to execute a code action, it fails with the error message
Error on notification "codeAction": code action without data
.Reproduce the bug
Create file
mini.vim
with:nmapaa (coc-codeaction-cursor)
xmap aa (coc-codeaction-selected)