Commit b68a08b9 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Highlight bad use of tab/spaces

parent 5b1a006f
......@@ -39,6 +39,16 @@ set colorcolumn=132
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\+$/
" Don't use backup files
set nobackup
set nowb
......
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