mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 03:53:52 -05:00
Rename cpo_save variable to prevent conflicts, fixes #619
This commit is contained in:
@@ -11,7 +11,7 @@ endif
|
|||||||
let did_load_polyglot = 1
|
let did_load_polyglot = 1
|
||||||
|
|
||||||
" Switch to compatible mode for the time being
|
" Switch to compatible mode for the time being
|
||||||
let s:cpo_save = &cpo
|
let s:polyglot_cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
" It can happen vim filetype.vim loads first, then we need a reset
|
" It can happen vim filetype.vim loads first, then we need a reset
|
||||||
@@ -3555,5 +3555,5 @@ if !has_key(g:polyglot_is_disabled, 'sensible')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Restore 'cpoptions'
|
" Restore 'cpoptions'
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:polyglot_cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:polyglot_cpo_save
|
||||||
|
|||||||
Reference in New Issue
Block a user