aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/diff.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-01 22:41:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-01 22:41:03 +1200
commitfa3465d5c37d04ae1657f2e59a38fec71c70dcce (patch)
tree6f0ef57a81ce1f55eaaaf03b158d81e22feb6a0b /vim/after/ftplugin/diff.vim
parentMerge HTML timestamp into after/ftplugin/html.vim (diff)
downloaddotfiles-fa3465d5c37d04ae1657f2e59a38fec71c70dcce.tar.gz
dotfiles-fa3465d5c37d04ae1657f2e59a38fec71c70dcce.zip
Make Vim ftplugin preamble consistent with plugins
Diffstat (limited to 'vim/after/ftplugin/diff.vim')
-rw-r--r--vim/after/ftplugin/diff.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/vim/after/ftplugin/diff.vim b/vim/after/ftplugin/diff.vim
index a6d45afe..6098ce48 100644
--- a/vim/after/ftplugin/diff.vim
+++ b/vim/after/ftplugin/diff.vim
@@ -1,5 +1,8 @@
" Extra configuration for 'diff' filetypes
-if &compatible || v:version < 700 || exists('b:did_ftplugin_after')
+if exists('b:did_ftplugin_after') || &compatible
+ finish
+endif
+if v:version < 700
finish
endif
if &filetype !=# 'diff'