You should check this link. I’m using the match command solution :
:highlight ExtraWhitespace ctermbg=red guibg=red
:match ExtraWhitespace /\s\+$/
This page also provides list based solutions which I haven’t personally tried.
You should check this link. I’m using the match command solution :
:highlight ExtraWhitespace ctermbg=red guibg=red
:match ExtraWhitespace /\s\+$/
This page also provides list based solutions which I haven’t personally tried.