2014-02-11 01:56:56 -05:00
|
|
|
" This has to be called before ftplugins are loaded. Therefore
|
2012-04-01 10:42:34 -04:00
|
|
|
" it is here in ftdetect though it maybe shouldn't
|
2014-09-01 03:45:20 -04:00
|
|
|
|
|
|
|
" This is necessary to prevent errors when using vim as a pager.
|
|
|
|
if exists("vimpager")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
|
|
|
if has("autocmd")
|
2015-05-27 05:32:22 -04:00
|
|
|
augroup UltiSnipsFileType
|
2015-07-11 11:11:04 -04:00
|
|
|
autocmd!
|
2015-05-27 05:32:22 -04:00
|
|
|
autocmd FileType * call UltiSnips#FileTypeChanged()
|
|
|
|
augroup END
|
|
|
|
|
|
|
|
" restore 'filetypedetect' group declaration
|
|
|
|
augroup filetypedetect
|
2014-09-02 10:32:06 -04:00
|
|
|
endif
|