Merge pull request #360 from tafryn/master

Add check to prevent errors when using vimpager.
This commit is contained in:
Holger Rapp 2014-09-04 06:05:59 -07:00
commit 386b3a0976

View File

@ -1,5 +1,11 @@
" This has to be called before ftplugins are loaded. Therefore
" it is here in ftdetect though it maybe shouldn't
" This is necessary to prevent errors when using vim as a pager.
if exists("vimpager")
finish
endif
if has("autocmd")
augroup UltiSnipsFileType
au!