mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
Fix reveal of hunks on CTRL-N
This commit is contained in:
@@ -2071,7 +2071,7 @@ endfunction
|
||||
function! s:StageReveal(...) abort
|
||||
let begin = a:0 ? a:1 : line('.')
|
||||
if getline(begin) =~# '^@'
|
||||
let end = line(begin) + 1
|
||||
let end = begin + 1
|
||||
while getline(end) =~# '^[ \+-]'
|
||||
let end += 1
|
||||
endwhile
|
||||
|
||||
Reference in New Issue
Block a user