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 693d32cdd4e4a5fba95d1a01a1cc53418b7f3087 (tree)
parent b978d9f0bebc2e50a68beafd80675c50253d0eca
Author: Richard Russon (flatcap) <richard.russon@gmail.com>
Date:   Tue,  3 Apr 2012 23:42:58 +0100

[BUG] wildignore breaks Gwrite

When the file you're editing matches the vim variable
wildignore Gwrite fails.

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1211,7 +1211,7 @@ function! s:Write(force,...) abort try let lnum = line('.') let last = line('$') - silent $read `=file` + silent execute '$read '.s:fnameescape(file) silent execute '1,'.last.'delete_' silent execute lnum set nomodified