mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-03 23:43:45 +08:00
Merge pull request #199 from kazukazuinaina/add_save/restore_cpo_setting
plugin: save/restore cpo setting
This commit is contained in:
commit
67512f5e81
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user