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 14649fb858f2145ff15ff38cca1e7f51ffbbbfba (tree)
parent 3d252dac21f2937d79b3c7d37c1ce38bdd6c2d82
Author: Tim Pope <code@tpope.net>
Date:   Mon,  1 Jul 2019 05:52:02 -0400

Restore autowrite before :Gcommit

Diffstat:
Mautoload/fugitive.vim | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -2692,6 +2692,9 @@ function! s:CommitCommand(line1, line2, range, count, bang, mods, reg, arg, args let errors = readfile(errorfile) call delete(errorfile) else + if &autowrite + wall + endif let errors = split(s:TempCmd(outfile, command), "\n") endif let error = v:shell_error