Clean up stray buffer().name()
This commit is contained in:
parent
39012290b8
commit
49e6c2b676
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user