mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-11 15:49:18 +08:00
Include "\ No newline at end of file" in status buffer
This commit is contained in:
1 parent
d9059413e2
commit
3f5975e906
1 file changed
+1
-1
@@ -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