UltiSnips/ftdetect/UltiSnips.vim
Ye Ding 00d50c3ae3 Remove augroup block
`augroup END` in filetype detection scripts can enclose 'filetypedetect'
group unexpectedly, makes following ftdetect auto commands be defined in
default autogroup.
2015-05-27 14:21:53 +09:00

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