2014-02-11 07:56:56 +01:00
|
|
|
" This has to be called before ftplugins are loaded. Therefore
|
2012-04-01 16:42:34 +02:00
|
|
|
" 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")
|
2015-05-27 18:32:22 +09:00
|
|
|
augroup UltiSnipsFileType
|
|
|
|
au!
|
|
|
|
autocmd FileType * call UltiSnips#FileTypeChanged()
|
|
|
|
augroup END
|
|
|
|
|
|
|
|
" restore 'filetypedetect' group declaration
|
|
|
|
augroup filetypedetect
|
2014-09-02 07:32:06 -07:00
|
|
|
endif
|