cocopon / vaffle.vim

:file_folder: Lightweight, window-based file manager for Vim
MIT License
284 stars 20 forks source link

Fix the error that generates wrong path separators #4

Closed kmorihiro closed 7 years ago

kmorihiro commented 7 years ago

When current directory is root directory (e.g. / or C:/), vaffle#env#create_items() generates wrong duplicated path separators (e.g. //bin or C://Windows).

cocopon commented 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?

kmorihiro commented 7 years ago

Thank you for your review and sorry for late reply.

I confirmed it under the following environment.

Case 1:

Case 2:

cocopon commented 7 years ago

Really sorry for the late response... :bow: I can reproduce the bug, thank you for the detailed description!