[vim] drop extra whitespace highlighting
Don't really need this if I'm going to be stripping trailing whitespace on save. Would be nice to know why it didn't work in nvim though
This commit is contained in:
parent
66aba12c7b
commit
8fc789ad78
1 changed files with 0 additions and 8 deletions
|
@ -75,14 +75,6 @@ syntax enable
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
|
|
||||||
" TODO: this works in vim but NOT nvim
|
|
||||||
augroup ExtraWhitespace
|
|
||||||
autocmd BufEnter * highlight ExtraWhitespace ctermbg=DarkRed ctermfg=white
|
|
||||||
autocmd BufEnter * match ExtraWhitespace /\s\+$/
|
|
||||||
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
|
|
||||||
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
|
|
||||||
augroup END
|
|
||||||
|
|
||||||
autocmd BufWritePre * :%s/\s\+$//e
|
autocmd BufWritePre * :%s/\s\+$//e
|
||||||
|
|
||||||
let g:bufferline_echo = 0
|
let g:bufferline_echo = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue