Commit 89a5def1 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Fixed issue with highlighting of multiple issues

parent d1e84aca
......@@ -43,14 +43,11 @@ highlight CursorLine cterm=none ctermbg=235
set cursorline
" Highlight messed up tab/spaces
highlight ExtraWhitespaces2 ctermbg=202
match ExtraWhitespaces2 / \t/
highlight ExtraWhitespaces3 ctermbg=202
match ExtraWhitespaces3 /\t /
highlight ExtraWhitespaces4 ctermbg=202
match ExtraWhitespaces4 /^ /
highlight ExtraWhitespaces1 ctermbg=202
match ExtraWhitespaces1 /\s\+$/
highlight ExtraWhitespaces ctermbg=202
call matchadd('ExtraWhitespaces',' \t')
call matchadd('ExtraWhitespaces','\t ')
call matchadd('ExtraWhitespaces','^ ')
call matchadd('ExtraWhitespaces','\s\+$')
" Don't use backup files
set nobackup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment