Fix - on :Gstatus section headings

This commit is contained in:
Tim Pope
2018-12-27 17:34:51 -05:00
parent f2b644a60b
commit 86990ef899

View File

@@ -1922,7 +1922,7 @@ endfunction
function! s:StageInfo(...) abort function! s:StageInfo(...) abort
let lnum = a:0 ? a:1 : line('.') let lnum = a:0 ? a:1 : line('.')
let slnum = lnum let slnum = lnum + 1
let section = '' let section = ''
while len(getline(slnum - 1)) && empty(section) while len(getline(slnum - 1)) && empty(section)
let slnum -= 1 let slnum -= 1