-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code actions broken on newest rust-analyzer #1037
Comments
Possibly related to the changes introduced here: rust-lang/rust-analyzer#4494 |
I'm looking into this, I think it's just that LanguageClient-neovim doesn't advertise code action support. |
I think I tested this fix by switching my branch in |
@TheZoq2 I assume you have |
Thanks. Adding |
@YaLTeR I think your fix for this is already in |
bin/languageclient --version
to get its version number. Yes:checkhealth LanguageClient
? YesDescribe the bug
Starting from 2020-05-25, rust-analyzer returns no code actions to LanguageClient-neovim.
Environment
nvim --version
orvim --version
): v0.4.3git rev-parse --short HEAD
): 7c741d0bin/languageclient --version
): 0.1.156reproduce the issue. Refer to an example here):
To Reproduce
Steps to reproduce the behavior:
cargo new temp
nvim -u min-vimrc.vim temp/src/main.rs
:call LanguageClient_textDocument_codeAction()
Current behavior
Code actions shown on 2020-05-18 but not on 2020-05-25 or nightly.
Expected behavior
Code actions shown.
Screenshots
Additional context
Log files for calling code action on 2020-05-18 and 2020-05-25:
LanguageClient-old.log
LanguageClient-new.log
The text was updated successfully, but these errors were encountered: