justinmk / vim-dirvish

Directory viewer for Vim :zap:
Other
1.19k stars 64 forks source link

use full path instead of relative path when opening a directory #206

Closed Melandel closed 3 years ago

Melandel commented 3 years ago

On Windows, When the dirvish buffer for a directory does not exist yet, an empty string is passed to s:isdir and as a result, the dirvish buffer is empty and it is necessary to type - from that buffer to get the expected buffer content.

I noticed that using full paths instead of a relative path addressed the issue.

Melandel commented 3 years ago

Bump

Melandel commented 3 years ago

Bump :)

justinmk commented 3 years ago

Nice catch, thank you!