kelly-lin / ranger.nvim

Ranger plugin for neovim
MIT License
152 stars 13 forks source link

fix: open current directory when select_current_file = false #13

Closed alixinne closed 1 year ago

alixinne commented 1 year ago

The condition changed by this PR would inject false in the ranger command, which makes ranger try to open the false path which doesn't exist.

By adding or "" we can default to injecting an empty string if select_current_file is false, which fixes the issue.

kelly-lin commented 1 year ago

Thanks for the fix @vtavernier! LGTM