UltiSnips/ftdetect/UltiSnips.vim

15 lines
362 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
2014-09-01 00:45:20 -07:00
" This is necessary to prevent errors when using vim as a pager.
if exists("vimpager")
finish
endif
if has("autocmd")
augroup UltiSnipsFileType
au!
autocmd FileType * call UltiSnips#FileTypeChanged()
augroup END
2014-09-02 07:32:06 -07:00
endif