mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -05:00
Disable realtime updates when Vim older than 7.3.105.
This commit is contained in:
@@ -135,6 +135,8 @@ let g:gitgutter_realtime = 0
|
|||||||
let g:gitgutter_eager = 0
|
let g:gitgutter_eager = 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note the realtime updating requires Vim 7.3.105 or higher.
|
||||||
|
|
||||||
|
|
||||||
### Customisation
|
### Customisation
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,12 @@ let g:loaded_gitgutter = 1
|
|||||||
|
|
||||||
" Initialisation {{{
|
" 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)
|
function! s:set(var, default)
|
||||||
if !exists(a:var)
|
if !exists(a:var)
|
||||||
if type(a:default)
|
if type(a:default)
|
||||||
|
|||||||
Reference in New Issue
Block a user