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 49e6c2b676fbb6aadaf3080828ea71633d05cd3b (tree)
parent 39012290b8700b2ab17ca09360c91a4202b81f30
Author: Tim Pope <code@tpope.net>
Date:   Tue,  3 Apr 2012 07:33:18 -0400

Clean up stray buffer().name()

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1387,7 +1387,7 @@ function! s:Move(force,destination) let destination = destination[strlen(s:repo().tree('')):-1] endif endif - if isdirectory(s:buffer().name()) + if isdirectory(s:buffer().spec()) " Work around Vim parser idiosyncrasy let discarded = s:buffer().setvar('&swapfile',0) endif