Browse Source

vim: paint bad C whitespacing gray instead of shocking red

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 11 years ago
parent
commit
1f3c88a252
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      files/.vim/c.vim
  2. +2
    -1
      files/.vim/sh.vim

+ 1
- 1
files/.vim/c.vim

@ -24,4 +24,4 @@ syn match WrongWhitespace /\t \{8,}/
"match WrongWhitespace / \+\ze\t/ " what is this?
highlight WrongWhitespace ctermbg=red guibg=red
highlight WrongWhitespace ctermbg=gray guibg=gray

+ 2
- 1
files/.vim/sh.vim

@ -1,3 +1,4 @@
syn match WrongWhitespace /\s\+$\|^ \+\|\t \+\| \+\t/
syn match WrongWhitespace /\t \{8,}/
highlight WrongWhitespace ctermbg=red guibg=red
highlight WrongWhitespace ctermbg=gray guibg=gray

Loading…
Cancel
Save