Docs: minor corrections
This commit is contained in:
parent
3c5d45036c
commit
d6086e769a
@ -11,7 +11,7 @@ It's __fast__, __highly configurable__ and __well documented__.
|
|||||||
Features:
|
Features:
|
||||||
|
|
||||||
- supports git, mercurial, darcs, bazaar, subversion, cvs, rcs, fossil
|
- supports git, mercurial, darcs, bazaar, subversion, cvs, rcs, fossil
|
||||||
- quick jumping between changed lines
|
- quick jumping between blocks of changed lines
|
||||||
- apart from signs there is also optional line highlighting
|
- apart from signs there is also optional line highlighting
|
||||||
- fully configurable through global variables (options and mappings)
|
- fully configurable through global variables (options and mappings)
|
||||||
- optional preserving of signs from other plugins
|
- optional preserving of signs from other plugins
|
||||||
|
@ -126,7 +126,7 @@ function! s:start(path) abort
|
|||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" New buffer.. add to list.
|
" new buffer.. add to list
|
||||||
if !has_key(s:sy, a:path)
|
if !has_key(s:sy, a:path)
|
||||||
let [ diff, type ] = s:repo_detect(a:path)
|
let [ diff, type ] = s:repo_detect(a:path)
|
||||||
if empty(diff)
|
if empty(diff)
|
||||||
@ -137,10 +137,10 @@ function! s:start(path) abort
|
|||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
let s:sy[a:path] = { 'active': 1, 'type': type, 'hunks': [], 'id_top': s:id_top }
|
let s:sy[a:path] = { 'active': 1, 'type': type, 'hunks': [], 'id_top': s:id_top }
|
||||||
" Inactive buffer.. bail out.
|
" inactive buffer.. bail out
|
||||||
elseif !s:sy[a:path].active
|
elseif !s:sy[a:path].active
|
||||||
return
|
return
|
||||||
" Update signs.
|
" update signs
|
||||||
else
|
else
|
||||||
let diff = s:repo_get_diff_{s:sy[a:path].type}(a:path)
|
let diff = s:repo_get_diff_{s:sy[a:path].type}(a:path)
|
||||||
if empty(diff)
|
if empty(diff)
|
||||||
|
Loading…
Reference in New Issue
Block a user