Do not run autocommands when using --noplugin.

Fixes #214.
This commit is contained in:
Holger Rapp 2015-08-04 07:56:55 +02:00
parent 7c74aa7686
commit ffb9b79480

View File

@ -6,7 +6,7 @@ if exists("vimpager")
finish
endif
if has("autocmd")
if has("autocmd") && &loadplugins
augroup UltiSnipsFileType
autocmd!
autocmd FileType * call UltiSnips#FileTypeChanged()