dot-files/vim/.vim/after/ftplugin/fugitive.vim
Bruno BELANYI 43a0785118 [ADD][VIM] Disable better-whitespace with fugitive
The inline diff view in fugitive contains spaces, they shouldn't be
highlighted to avoid distracting me.
2019-10-25 13:58:27 +02:00

4 lines
150 B
VimL

" Don't highlight trailing whitespace in fugitive windows
let b:better_whitespace_enabled=0
let b:undo_ftplugin.='|unlet b:better_whitespace_enabled'