2019-03-01 11:14:29 +01:00
|
|
|
syntax on
|
2019-03-01 22:17:53 +01:00
|
|
|
set number
|
|
|
|
colorscheme desert
|
|
|
|
set laststatus=2
|
2019-06-23 11:00:54 +02: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()
|