vimscript-snippets: add version checking

This commit is contained in:
Rico Sta. Cruz 2015-11-15 11:06:14 +11:00
parent fe4a49f389
commit c1e836c08d
1 changed files with 8 additions and 0 deletions

View File

@ -29,3 +29,11 @@ title: Vimscript snippets
" calling hello#method() will load only if autoload() " calling hello#method() will load only if autoload()
## Misc
### Version check
if version < 704
echom "requires vim >= 7.4"
endif