mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-08 18:03: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>
|
" Author: Nate Kane <nathanaelkane AT gmail DOT com>
|
||||||
" Homepage: http://github.com/nathanaelkane/vim-indent-guides
|
" 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
|
if exists('g:loaded_indent_guides') || &cp
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user