Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle paths relative to custom path in utils.pick_file #1221

Merged
merged 1 commit into from
May 23, 2024

Conversation

mfussenegger
Copy link
Owner

Should fix #1220

@cryptomilk
Copy link
Contributor

Unfortunatly this doesn't fix it :-(

@cryptomilk
Copy link
Contributor

The stat is till empty.

@cryptomilk
Copy link
Contributor

Oh. the directory is wrong:

stat on default/source3/lib/netapi/examples/localgroup/localgroup_getmembers                                                                                                        
no stat

I pass /home/asn/workspace/prj/oss/samba/bin too it. So it thinks this is the current working directory, but the cwd is /home/asn/workspace/prj/oss/samba

It should be bin/default/source3/lib/netapi/examples/localgroup/localgroup_getmembers

@mfussenegger
Copy link
Owner Author

Right, I should've used the joined path for the filter too :)

Can you check the last fixup?

@cryptomilk
Copy link
Contributor

This works! Yay :-)

@mfussenegger mfussenegger merged commit 884964d into master May 23, 2024
16 checks passed
@mfussenegger mfussenegger deleted the pick-take-3 branch May 23, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pick_files() doesn't work on neovim 0.10
2 participants