From 3f5975e906e676047c751aede530e4bd397dd235 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 14 Jun 2022 14:14:10 -0400 Subject: [PATCH] Include "\ No newline at end of file" in status buffer --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 0af0869..8f237ac 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4760,7 +4760,7 @@ function! s:StageInline(mode, ...) abort while get(stdout, index, '@@') !~# '^@@\|^diff ' let index += 1 endwhile - while get(stdout, index, '') =~# '^[@ +-]' + while get(stdout, index, '') =~# '^[@ \+-]' call add(diff, stdout[index]) let index += 1 endwhile