[vim] tweaking whitespace stuff

Can't seem to get the fucking whitespace to highlight red anymore :(
This commit is contained in:
Josh Sherman 2017-05-28 11:26:32 -05:00
parent d43f0ca4c0
commit 5d57c255b3
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -79,7 +79,7 @@ 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\+$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
augroup END
let g:bufferline_echo = 0
@ -140,7 +140,7 @@ nnoremap <Leader>F :set list<CR>
nnoremap <Leader>c :w<CR>:!wc %<CR>
nnoremap <Leader>v :so ~/.vim/vimrc<CR>
nnoremap <Leader>ss /\s$<CR>
nnoremap <Leader>ss /\s\+$<CR>
nnoremap <Leader>n <Esc>:call ToggleLineNumbers()<CR>