mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-09 10:23:46 -05:00
Exit gracefully if too old to support this plugin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user