dot-files/vim/.vim/after/ftplugin/fugitive.vim
Bruno BELANYI 36faab278e [FIX][VIM] Set b:undo_ftplugin if not set
I hit the problem when loading a fugitive window, but this should be
done for all filetype plug-ins before trying to append to the variable.
2019-10-25 14:15:56 +02:00

8 lines
214 B
VimL

if !exists("b:undo_ftplugin")
let b:undo_ftplugin=''
endif
" Don't highlight trailing whitespace in fugitive windows
let b:better_whitespace_enabled=0
let b:undo_ftplugin.='|unlet b:better_whitespace_enabled'