aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:29:50 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:29:50 +1300
commitdfd599e0f903ed220c09bc1494dc111ee34330c7 (patch)
tree5ff10ac3e6ec31666d5a493eefcc12892f8091c5
parent4bd232add5c791f51411f18101bd28ed1b13b21c (diff)
downloaddotfiles-dfd599e0f903ed220c09bc1494dc111ee34330c7.tar.gz
dotfiles-dfd599e0f903ed220c09bc1494dc111ee34330c7.zip
Restore filetype.vim shortcircuit
-rw-r--r--vim/filetype.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 2e20b744..cc0de4e4 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -1,5 +1,5 @@
-" Override system filetype.vim
-if exists('g:did_load_filetypes')
+" Override system filetype.vim if sufficiently new
+if exists('g:did_load_filetypes') || v:version < 700
finish
endif
let g:did_load_filetypes = 1