mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 03:53:52 -05:00
@@ -120,6 +120,10 @@ endfunc
|
|||||||
|
|
||||||
augroup polyglot-observer | augroup END
|
augroup polyglot-observer | augroup END
|
||||||
|
|
||||||
|
" Restore 'cpoptions'
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
||||||
|
|
||||||
" Load user-defined filetype.vim and oter plugins ftdetect first
|
" Load user-defined filetype.vim and oter plugins ftdetect first
|
||||||
" This is to use polyglot-defined ftdetect always as fallback to user settings
|
" This is to use polyglot-defined ftdetect always as fallback to user settings
|
||||||
augroup filetypedetect
|
augroup filetypedetect
|
||||||
@@ -130,6 +134,10 @@ augroup END
|
|||||||
|
|
||||||
augroup filetypedetect
|
augroup filetypedetect
|
||||||
|
|
||||||
|
" Switch to compatible mode for the time being
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
|
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
|
||||||
|
|
||||||
if !has_key(g:polyglot_is_disabled, 'context')
|
if !has_key(g:polyglot_is_disabled, 'context')
|
||||||
|
|||||||
Reference in New Issue
Block a user