I'm using the
ntpeters/vim-better-whitespace plugin to automatically highlight trailing whitespaces (and removing them). I also want to highlight "irregular" whitespace characters, such as
(U+00A0) and so I've added this to my
highlight IrregularWhitespace ctermbg=red match IrregularWhitespace / / " U+00A0 (not a traditional space) autocmd BufWinEnter,CursorMovedI * highlight IrregularWhitespacee ctermbg=red
However, if I have the
vim-better-whitespace plugin enabled, this does not seem to work at all? If I disable the plugin, it works exactly like I want it to.