Disable realtime updates when Vim older than 7.3.105.

This commit is contained in:
Andy Stewart
2014-02-14 12:59:39 +00:00
parent f7368e042f
commit f291db08c7
2 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,12 @@ let g:loaded_gitgutter = 1
" Initialisation {{{
" Pre-requisites.
if v:version < 703 || (v:version == 703 && !has("patch105"))
let g:gitgutter_realtime = 0
echom "vim-gitgutter: realtime sign updates disabled (requires Vim 7.3.105+)."
endif
function! s:set(var, default)
if !exists(a:var)
if type(a:default)