2019-03-01 10:14:29 +00:00
|
|
|
syntax on
|
2019-03-01 21:17:53 +00:00
|
|
|
set number
|
|
|
|
colorscheme desert
|
|
|
|
set laststatus=2
|
2019-06-23 09:00:54 +00:00
|
|
|
highlight ExtraWhitespace ctermbg=red guibg=red
|
|
|
|
match ExtraWhitespace /\s\+$/
|
|
|
|
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
|
|
|
|
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
|
|
|
|
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
|
|
|
|
autocmd BufWinLeave * call clearmatches()
|