mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Don't pester user if their Vim is too old for realtime updates.
This commit is contained in:
@@ -5,10 +5,9 @@ let g:loaded_gitgutter = 1
|
|||||||
|
|
||||||
" Initialisation {{{
|
" Initialisation {{{
|
||||||
|
|
||||||
" Pre-requisites.
|
" Realtime sign updates require Vim 7.3.105+.
|
||||||
if v:version < 703 || (v:version == 703 && !has("patch105"))
|
if v:version < 703 || (v:version == 703 && !has("patch105"))
|
||||||
let g:gitgutter_realtime = 0
|
let g:gitgutter_realtime = 0
|
||||||
echom "vim-gitgutter: realtime sign updates disabled (requires Vim 7.3.105+)."
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
function! s:set(var, default)
|
function! s:set(var, default)
|
||||||
|
|||||||
Reference in New Issue
Block a user