mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2025-12-08 01:54:44 +08:00
add check to vim version
This commit is contained in:
@@ -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
|
" 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
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_airline_themes = 1
|
let g:loaded_airline_themes = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user