Commit graph

4 commits

Author SHA1 Message Date
Bruno BELANYI 94ed7a9e9e [FIX][VIM] Unlet ftplugin variables without errors 2020-12-12 14:12:42 +01:00
Bruno BELANYI d9eab5526f [UPDATE][VIM] Factorise b:undo_ftplugin
Instead of re-writing the same condition each time, I put the function
in an autoload plugin instead (which is going to be loaded just about
every time I start writing code, but that's neither here nor there) to
stop repeating myself.
2019-10-25 14:27:21 +02:00
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
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