apply ExtraWhitespace highlighting to all windows
This commit is contained in:
parent
5f283eaaa2
commit
eb008ceeec
|
@ -52,7 +52,7 @@ set modeline
|
||||||
|
|
||||||
" Highlight trailing spaces and spaces before tabs
|
" Highlight trailing spaces and spaces before tabs
|
||||||
highlight ExtraWhitespace ctermbg=red guibg=red
|
highlight ExtraWhitespace ctermbg=red guibg=red
|
||||||
match ExtraWhitespace /\s\+$\| \+\ze\t/
|
autocmd BufWinEnter * match ExtraWhitespace /\s\+$\| \+\ze\t/
|
||||||
|
|
||||||
" tab settings
|
" tab settings
|
||||||
set ai
|
set ai
|
||||||
|
|
Reference in a new issue