Include "\ No newline at end of file" in status buffer

This commit is contained in:
Tim Pope
2022-06-14 14:14:10 -04:00
parent d9059413e2
commit 3f5975e906

View File

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