From 6788172c9c3fc75f264f1e7320261050db43ad37 Mon Sep 17 00:00:00 2001 From: kazukazuinaina Date: Wed, 27 Nov 2019 12:19:34 +0900 Subject: [PATCH] add check to vim version --- plugin/airline-themes.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin/airline-themes.vim b/plugin/airline-themes.vim index 1be6b47..d7d2b7a 100644 --- a/plugin/airline-themes.vim +++ b/plugin/airline-themes.vim @@ -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