mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 22:03:51 -05:00
Include "\ No newline at end of file" in status buffer
This commit is contained in:
@@ -4760,7 +4760,7 @@ function! s:StageInline(mode, ...) abort
|
|||||||
while get(stdout, index, '@@') !~# '^@@\|^diff '
|
while get(stdout, index, '@@') !~# '^@@\|^diff '
|
||||||
let index += 1
|
let index += 1
|
||||||
endwhile
|
endwhile
|
||||||
while get(stdout, index, '') =~# '^[@ +-]'
|
while get(stdout, index, '') =~# '^[@ \+-]'
|
||||||
call add(diff, stdout[index])
|
call add(diff, stdout[index])
|
||||||
let index += 1
|
let index += 1
|
||||||
endwhile
|
endwhile
|
||||||
|
|||||||
Reference in New Issue
Block a user