add check to vim version

This commit is contained in:
kazukazuinaina 2019-11-27 12:19:34 +09:00
parent 0461a2a568
commit 6788172c9c
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
" MIT License. Copyright (c) 2013-2016 Bailey Ling & Contributors.
" MIT License. Copyright (c) 2013-2019 Bailey Ling & Contributors.
" vim: et ts=2 sts=2 sw=2
if (exists('g:loaded_airline_themes') && g:loaded_airline_themes)
scriptencoding utf-8
if &cp || v:version < 702 || (exists('g:loaded_airline_themes') && g:loaded_airline_themes)
finish
endif
let g:loaded_airline_themes = 1