Skip to content
Discussion options

You must be logged in to vote

I'm not particularly sure if this is a bug in either project, but I thought I'd share a workaround.

I think the culprit lies in 'snacks.picker'. Thanks to your helpful link to the actual action that is used here, this call is the problem here. It defers the files picker by 100 ms and eventually calls it without arguments. This implicitly assumes that it will start in target directory due to this chdir, which does not hold in this particular case.

Since a lot can happen during those 100ms (like user/plugin changing working directory to something else), I think it is more reasonable to explicitly start files picker with target directory. Basically applying the following patch to 'snacks.n…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@purarue
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.misc upstream Related to how upstream application works
2 participants