highlight traling spaces and spaces before tabs
This commit is contained in:
parent
ab9ef96bef
commit
d289924cb5
2 changed files with 7 additions and 4 deletions
7
vimrc
7
vimrc
|
|
@ -241,7 +241,7 @@ set foldmethod=manual
|
|||
|
||||
set autoindent
|
||||
set breakindent
|
||||
set showbreak=>>>
|
||||
set showbreak=↳
|
||||
|
||||
syntax on
|
||||
set mouse=a
|
||||
|
|
@ -277,6 +277,11 @@ augroup VimCSS3Syntax
|
|||
autocmd FileType css setlocal iskeyword+=-
|
||||
augroup END
|
||||
|
||||
" Show trailing whitepace and spaces before a tab:
|
||||
augroup whitespaceerrors
|
||||
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL
|
||||
augroup END
|
||||
|
||||
|
||||
" autocommands
|
||||
" automatically reload if color scheme file written
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue