diff --git a/ftdetect/UltiSnips.vim b/ftdetect/UltiSnips.vim index 75fe3c2..446cf66 100644 --- a/ftdetect/UltiSnips.vim +++ b/ftdetect/UltiSnips.vim @@ -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