From c47b1dd7e8dfef50cdaafc438e31535146cf7741 Mon Sep 17 00:00:00 2001 From: kazukazuinaina Date: Fri, 13 Dec 2019 18:23:23 +0900 Subject: [PATCH] plugin: save/restore cpo setting --- plugin/airline-themes.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin/airline-themes.vim b/plugin/airline-themes.vim index d7d2b7a..8e5722d 100644 --- a/plugin/airline-themes.vim +++ b/plugin/airline-themes.vim @@ -1,9 +1,15 @@ " MIT License. Copyright (c) 2013-2019 Bailey Ling & Contributors. " vim: et ts=2 sts=2 sw=2 +let s:save_cpo = &cpo +set cpo&vim + 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 + +let &cpo = s:save_cpo +unlet s:save_cpo