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 a90cc48c7a7b41ce366a07f91ccedc82cf2d0c1a (tree)
parent b0c74e2289a1c1617a6446184f6de77b88750133
Author: Tim Pope <code@tpope.net>
Date:   Wed,  1 Aug 2012 10:35:52 -0400

Fix creation of files named index

Closes #231.

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -2180,7 +2180,7 @@ augroup fugitive_files autocmd BufReadCmd index{,.lock} \ if fugitive#is_git_dir(expand('<amatch>:p:h')) | \ exe s:BufReadIndex() | - \ else | + \ elseif filereadable(expand('<amatch>')) | \ read <amatch> | \ 1delete | \ endif