mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 22:13:50 -05:00
fix undefined cpo_save (#623)
This commit is contained in:
committed by
GitHub
parent
ff35c02445
commit
cd76812402
@@ -120,9 +120,11 @@ endfunc
|
||||
|
||||
augroup polyglot-observer | augroup END
|
||||
|
||||
" Restore 'cpoptions'
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
if exists('s:cpo_save')
|
||||
" Restore 'cpoptions'
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
endif
|
||||
|
||||
" Load user-defined filetype.vim and oter plugins ftdetect first
|
||||
" This is to use polyglot-defined ftdetect always as fallback to user settings
|
||||
|
||||
Reference in New Issue
Block a user