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 3bfa0a27253d12a49331d0d9baa8d1210a816a8d (tree)
parent fd297ad11f05165bdc59a6cbc34ce33ed646cbf2
Author: Tim Pope <code@tpope.net>
Date:   Wed, 26 Mar 2014 14:25:44 -0400

Work around more 'wildignore' silliness

Diffstat:
Mplugin/fugitive.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1473,11 +1473,11 @@ function! s:Diff(bang,...) return 'DiffGitCached' elseif (!a:0 || a:1 == ':') && s:buffer().commit() =~# '^[0-1]\=$' && s:repo().git_chomp_in_tree('ls-files', '--unmerged', '--', s:buffer().path()) !=# '' let nr = bufnr('') - execute 'leftabove '.vert.'split `=fugitive#buffer().repo().translate(s:buffer().expand('':2''))`' + execute 'leftabove '.vert.'split' s:fnameescape(fugitive#buffer().repo().translate(s:buffer().expand('':2''))) execute 'nnoremap <buffer> <silent> dp :diffput '.nr.'<Bar>diffupdate<CR>' call s:diffthis() wincmd p - execute 'rightbelow '.vert.'split `=fugitive#buffer().repo().translate(s:buffer().expand('':3''))`' + execute 'rightbelow '.vert.'split' s:fnameescape(fugitive#buffer().repo().translate(s:buffer().expand('':3''))) execute 'nnoremap <buffer> <silent> dp :diffput '.nr.'<Bar>diffupdate<CR>' call s:diffthis() wincmd p