Docs: minor corrections

This commit is contained in:
Marco Hinz 2013-07-09 07:28:03 +02:00
parent 3c5d45036c
commit d6086e769a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)