otavioschwanck / arrow.nvim

Bookmark your files, separated by project, and quickly navigate through them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No support for directories?

mblarsen opened this issue · comments

Expected behavior

api . modules
api . development/eu-central-1
api . production/eu-central-1

Actual behavior

. modules/api
. development/eu-central-1/api
. production/eu-central-1/api

I'm guessing the name that matches is no name and then it puts the paths as qualifier for that.

Aside from the rendering issue it works fine with directories. (in my case paired with oil.nvim)

image

Expected behavior

api . modules
api . development/eu-central-1
api . production/eu-central-1

Actual behavior

. modules/api
. development/eu-central-1/api
. production/eu-central-1/api

I'm guessing the name that matches is no name and then it puts the paths as qualifier for that.

Aside from the rendering issue it works fine with directories. (in my case paired with oil.nvim)

image

i will add the support for directories later in the week

That was fast :D

Any reason why not applying the same "duplicate" name logic as for files? I.e. when two directory names are the same show . parent/path.

api . modules
api . development/eu-central-1
api . production/eu-central-1
image

That was fast :D

Any reason why not applying the same "duplicate" name logic as for files? I.e. when two directory names are the same show . parent/path.

api . modules
api . development/eu-central-1
api . production/eu-central-1
image

you think that logic makes sense? i will do it

Really nice, thanks a lot <3