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 d859e05f0087ee9747bf5f79cced4f728cb0434d (tree)
parent 3feda7f440b2e992691a8f6b9b8ef1e161670d61
Author: Tim Pope <code@tpope.net>
Date:   Tue, 31 Jul 2018 02:24:13 -0400

Really fix :Gcd

Closes https://github.com/tpope/vim-fugitive/issues/1071

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

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -1339,8 +1339,8 @@ function! s:DirComplete(A, L, P) abort return matches endfunction -call s:command("-bar -bang -nargs=? -complete=customlist,s:DirComplete Gcd :exe 'cd<bang>' s:fnameescape((empty(s:Tree() ? b:git_dir : s:Tree()) . '/' . <q-args>") -call s:command("-bar -bang -nargs=? -complete=customlist,s:DirComplete Glcd :exe 'lcd<bang>' s:fnameescape((empty(s:Tree() ? b:git_dir : s:Tree()) . '/' . <q-args>") +call s:command("-bar -bang -nargs=? -complete=customlist,s:DirComplete Gcd :exe 'cd<bang>' s:fnameescape((empty(s:Tree()) ? b:git_dir : s:Tree()) . '/' . <q-args>)") +call s:command("-bar -bang -nargs=? -complete=customlist,s:DirComplete Glcd :exe 'lcd<bang>' s:fnameescape((empty(s:Tree()) ? b:git_dir : s:Tree()) . '/' . <q-args>)") " Section: Gstatus