Clean-up vimpager check.
This commit is contained in:
parent
a8c9caae81
commit
f6e33387a2
@ -1,10 +1,14 @@
|
|||||||
" This has to be called before ftplugins are loaded. Therefore
|
" This has to be called before ftplugins are loaded. Therefore
|
||||||
" it is here in ftdetect though it maybe shouldn't
|
" it is here in ftdetect though it maybe shouldn't
|
||||||
if !exists("vimpager")
|
|
||||||
if has("autocmd")
|
" This is necessary to prevent errors when using vim as a pager.
|
||||||
|
if exists("vimpager")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
if has("autocmd")
|
||||||
augroup UltiSnipsFileType
|
augroup UltiSnipsFileType
|
||||||
au!
|
au!
|
||||||
autocmd FileType * call UltiSnips#FileTypeChanged()
|
autocmd FileType * call UltiSnips#FileTypeChanged()
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
|
||||||
endif
|
endif
|
Loading…
x
Reference in New Issue
Block a user