mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -05:00
Clean up stray buffer().name()
This commit is contained in:
@@ -1387,7 +1387,7 @@ function! s:Move(force,destination)
|
|||||||
let destination = destination[strlen(s:repo().tree('')):-1]
|
let destination = destination[strlen(s:repo().tree('')):-1]
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if isdirectory(s:buffer().name())
|
if isdirectory(s:buffer().spec())
|
||||||
" Work around Vim parser idiosyncrasy
|
" Work around Vim parser idiosyncrasy
|
||||||
let discarded = s:buffer().setvar('&swapfile',0)
|
let discarded = s:buffer().setvar('&swapfile',0)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user