Closed kmorihiro closed 7 years ago
Thank you for the pull request! But I cannot reproduce the behavior... Would you share your environment (OS, Vim version, etc.) and .vimrc?
Thank you for your review and sorry for late reply.
I confirmed it under the following environment.
$VIM\vimrc
only.) git-clone vaffle.vim to %USERPROFILE%\vimfiles\pack\my\start\vaffle.vim\
:cd C:\
:Vaffle
. Now, a statusline shows vaffle://0/C:\
.Users/
) and type h
to back to C:\
. Now, a statusline shows vaffle://1/C:\\
.vaffle://0/C:\\/////Users
./etc/vimrc
only.) git-clone vaffle.vim to ~/.vim/pack/my/start/vaffle.vim/
:cd /
:Vaffle
. A console shows (no items)
.Really sorry for the late response... :bow: I can reproduce the bug, thank you for the detailed description!
When current directory is root directory (e.g.
/
orC:/
),vaffle#env#create_items()
generates wrong duplicated path separators (e.g.//bin
orC://Windows
).