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:
|
||||
|
||||
- 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
|
||||
- fully configurable through global variables (options and mappings)
|
||||
- optional preserving of signs from other plugins
|
||||
|
@ -126,7 +126,7 @@ function! s:start(path) abort
|
||||
return
|
||||
endif
|
||||
|
||||
" New buffer.. add to list.
|
||||
" new buffer.. add to list
|
||||
if !has_key(s:sy, a:path)
|
||||
let [ diff, type ] = s:repo_detect(a:path)
|
||||
if empty(diff)
|
||||
@ -137,10 +137,10 @@ function! s:start(path) abort
|
||||
return
|
||||
endif
|
||||
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
|
||||
return
|
||||
" Update signs.
|
||||
" update signs
|
||||
else
|
||||
let diff = s:repo_get_diff_{s:sy[a:path].type}(a:path)
|
||||
if empty(diff)
|
||||
|
Loading…
Reference in New Issue
Block a user