UltiSnips/ftdetect/UltiSnips.vim

11 lines
293 B
VimL
Raw Normal View History

" This has to be called before ftplugins are loaded. Therefore
" it is here in ftdetect though it maybe shouldn't
if !exists("vimpager")
if has("autocmd")
augroup UltiSnipsFileType
au!
autocmd FileType * call UltiSnips#FileTypeChanged()
augroup END
endif
endif