home ~ projects ~ socials

Neovim Kickstart Doesn't Work With rust-tools

Notes

  • I spent most of a day trying to figure out why I couldn't get Inlay Hints working in my Neovim config
  • I used Neovim Kickstartneokick for the start of my config
  • It uses mason-lspconfigmlsp for its setup
  • As far as I can tell, the way it works overrides trying to use rust-toolsrt
  • When I removed all the mason stuff rust-tools started working and I could do things like call: :RustSetInlayHints

Other Notes

- rust-tools has been deprecated in favor of rustaceanvimrvim which is a "heavily modified fork" of rust-tools

- I looked at using rustaceanvim, but it doesn't have inlay hints in it

- The reason inlay hints were removed is because the 0.10 version of Neovim will have inlay hints built in. That's still a few months away at the time I'm writing this

-- end of line --

Footnotes