highlight traling spaces and spaces before tabs
This commit is contained in:
parent
ab9ef96bef
commit
d289924cb5
|
@ -15,9 +15,6 @@ let colors_name = 'customred256'
|
|||
hi Normal ctermfg=246 ctermbg=none
|
||||
hi! def link ErrorMsg CRError
|
||||
|
||||
|
||||
|
||||
|
||||
""""""""""""""
|
||||
" colours
|
||||
""""""""""""""
|
||||
|
@ -87,6 +84,7 @@ hi CRCssSelectorDark ctermfg=72
|
|||
|
||||
" general definitions
|
||||
hi Error ctermfg=231 ctermbg=none
|
||||
hi ExtraWhitespace ctermbg=237
|
||||
hi Comment ctermfg=238
|
||||
|
||||
hi! def link Constant String
|
||||
|
|
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…
Reference in New Issue