Merge pull request #360 from tafryn/master
Add check to prevent errors when using vimpager.
This commit is contained in:
commit
386b3a0976
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user