mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2025-12-07 01:34:24 +08:00
plugin: save/restore cpo setting
This commit is contained in:
@@ -1,9 +1,15 @@
|
|||||||
" MIT License. Copyright (c) 2013-2019 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
|
||||||
|
|
||||||
|
let s:save_cpo = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
||||||
if &cp || v:version < 702 || (exists('g:loaded_airline_themes') && g:loaded_airline_themes)
|
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
|
||||||
|
|
||||||
|
let &cpo = s:save_cpo
|
||||||
|
unlet s:save_cpo
|
||||||
|
|||||||
Reference in New Issue
Block a user