#Errors not showing in Neovim

1 messages · Page 1 of 1 (latest)

oak sinew
#

Hey guys, sorry I hope this is the right place to ask this.

I'm trying to set up Neovim with Rust. I have a project that shows errors on vscode but the same errors aren't showing up on Neovim. The weird thing is Neovim is highlighting unused imports and stuff, just not the errors. Does anyone know what's going on?

oak sinew
#

I'm using WSL

covert warren
oak sinew
#

Just the regular Windows terminal

covert warren
# oak sinew Just the regular Windows terminal

There exists some kind of windows specific issue where the control codes responsible for displaying squiggly underlines get stripped out. I know it's possible to see those on windows in some situations though because I can see them at work when ssh-ing into linux, but I have not tried it using wsl. So I think the options are to either do some nonsense where you ssh into your local wsl session which might work, or you can reconfigure your neovim theme to use something else other than squiggly underlines to display diagnostics, for instance I used to just have it change the background color of the text when I was on windows. It is of course also possible there could be some other issue which I could help you with but changing your theme like this would prove that so I'd recommend it.