Exit gracefully if too old to support this plugin

This commit is contained in:
Andrew Browne 2015-10-25 21:10:51 +10:00
parent 4895e86025
commit 9e2e492055

View File

@ -1,6 +1,11 @@
" Author: Nate Kane <nathanaelkane AT gmail DOT com>
" Homepage: http://github.com/nathanaelkane/vim-indent-guides
" Do not load if if vim is too old
if (v:version == 701 && ! exists('*matchadd')) || (v:version < 701)
finish
endif
if exists('g:loaded_indent_guides') || &cp
finish
endif