00d50c3ae3
`augroup END` in filetype detection scripts can enclose 'filetypedetect' group unexpectedly, makes following ftdetect auto commands be defined in default autogroup.
12 lines
298 B
VimL
12 lines
298 B
VimL
" This has to be called before ftplugins are loaded. Therefore
|
|
" it is here in ftdetect though it maybe shouldn't
|
|
|
|
" This is necessary to prevent errors when using vim as a pager.
|
|
if exists("vimpager")
|
|
finish
|
|
endif
|
|
|
|
if has("autocmd")
|
|
autocmd FileType * call UltiSnips#FileTypeChanged()
|
|
endif
|