A backward compatible solution

This commit is contained in:
Ye Ding 2015-05-27 18:32:22 +09:00
parent 00d50c3ae3
commit 2fb8820ff4

View File

@ -7,5 +7,11 @@ if exists("vimpager")
endif
if has("autocmd")
autocmd FileType * call UltiSnips#FileTypeChanged()
augroup UltiSnipsFileType
au!
autocmd FileType * call UltiSnips#FileTypeChanged()
augroup END
" restore 'filetypedetect' group declaration
augroup filetypedetect
endif