aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:21:17 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:21:17 +1300
commit95589911a48a7f39589f71de3324a955ac6c8879 (patch)
tree8ddbb4fdb5cc9678d430039a057243c65f562bc1
parent7cdb40372beb33fe972cabbb0cc726a608d77417 (diff)
downloaddotfiles-95589911a48a7f39589f71de3324a955ac6c8879.tar.gz
Don't load my filetype.vim if Vim is too old
-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