Merge pull request #199 from kazukazuinaina/add_save/restore_cpo_setting

plugin: save/restore cpo setting
This commit is contained in:
Christian Brabandt 2019-12-13 10:31:01 +01:00 committed by GitHub
commit 67512f5e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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