mrcjkb / rustaceanvim

Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim
GNU General Public License v2.0
1.3k stars 47 forks source link

Suspicious snippet in config/server.lua #406

Closed tomasbarton-stemcell closed 1 month ago

tomasbarton-stemcell commented 1 month ago

While trying to figure out why my rust analyzer does not show any diagnostic I noticed a strange snippet:

https://github.com/mrcjkb/rustaceanvim/blob/a73e8618d8518b2a7434e1c21e4da4e66f21f738/lua/rustaceanvim/config/server.lua#L57

imho this variable should be initialized to false

mrcjkb commented 1 month ago

That is indeed very suspicious :sweat_smile: Nice find!

mrcjkb commented 1 month ago

https://github.com/mrcjkb/rustaceanvim/commit/e306c742bd7f7183e371cd91268b72d9db1bbae0