Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Updating to nvim 0.6 and rust-analzyer 2021-11-29 breaks inlayHints #30

Open
felipesere opened this issue Dec 1, 2021 · 7 comments
Open

Comments

@felipesere
Copy link

I've just updated both so I'm not 100% sure which one it is (though my money is on RA),
but when I start nvim I now get the following error on a Rust file

Error detected while processing InsertLeave Autocommands for "*":
method rust-analyzer/inlayHints is not supported by any of the servers registered for the current buffer

Type hints do appear though, which is super weird?

@kodesoul
Copy link

kodesoul commented Dec 2, 2021

I'm running across this too !!

@tjkirch
Copy link

tjkirch commented Dec 9, 2021

For others wanting to follow along, there's an issue on the rust-analyzer repo too. The issue's author says it affects VSCode too, not just Neovim. rust-lang/rust-analyzer#10554

@hanzelik
Copy link

I was having the exact same problem @felipesere. I downgraded from nvim 0.6 to nvim 0.5.1, and I'm getting no errors with rust-analyzer anymore. Seems there was an update to nvim that caused rust-analyzer to break.

@luisvgs
Copy link

luisvgs commented Jan 13, 2022

@hanzelik @tjkirch there's any workaround until this problem is fixed? I updated nvim recently and my inlayHints got messy as well. Thanks in advance.

@tjkirch
Copy link

tjkirch commented Jan 13, 2022

@bluretrece I wish I knew... I had to downgrade neovim to 0.5.1.

@polyzen
Copy link

polyzen commented Jan 14, 2022

Fwiw inlay hints works with https://github.com/simrat39/rust-tools.nvim.

@jan-xyz
Copy link

jan-xyz commented Apr 17, 2022

There are discussions to bring this to Neovim proper: neovim/neovim#18086

keith added a commit to keith/dotfiles that referenced this issue Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants