You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
460 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") && &loadplugins
augroup UltiSnipsFileType
autocmd!
autocmd FileType * call UltiSnips#FileTypeChanged()
augroup END
" restore 'filetypedetect' group declaration
augroup filetypedetect
endif