[ADD][VIM] Disable better-whitespace with fugitive
The inline diff view in fugitive contains spaces, they shouldn't be highlighted to avoid distracting me.
This commit is contained in:
parent
e4f096ae91
commit
43a0785118
1 changed files with 3 additions and 0 deletions
3
vim/.vim/after/ftplugin/fugitive.vim
Normal file
3
vim/.vim/after/ftplugin/fugitive.vim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
" Don't highlight trailing whitespace in fugitive windows
|
||||
let b:better_whitespace_enabled=0
|
||||
let b:undo_ftplugin.='|unlet b:better_whitespace_enabled'
|
||||
Loading…
Add table
Add a link
Reference in a new issue