motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 3f5975e906e676047c751aede530e4bd397dd235 (tree)
parent d9059413e2cac021795fa635d83768f5ae4c3c3b
Author: Tim Pope <code@tpope.net>
Date:   Tue, 14 Jun 2022 14:14:10 -0400

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

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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