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

Show full path when listing files with git_status #2658

Closed
mfilej opened this issue Aug 19, 2023 · 2 comments · Fixed by #2881
Closed

Show full path when listing files with git_status #2658

mfilej opened this issue Aug 19, 2023 · 2 comments · Fixed by #2881
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@mfilej
Copy link

mfilej commented Aug 19, 2023

Is your feature request related to a problem? Please describe.
I would like to see the full path for a file in a git repository when using the git_status picker.

Describe the solution you'd like
I tried passing path_display = { "absolute" } directly to the git_status() function or directly to the picker options under pickers.git_status.path_display.

I'm thinking that maybe this option does not work with git_status? The other pickers like find_files that I'm using are already showing me the full path without any additional configuration.

I would be also happy with a solution in the form of a custom picker function.

@jamestrew
Copy link
Contributor

Sorry this took so long, it was literally just a one line fix.

@mfilej
Copy link
Author

mfilej commented Jan 22, 2024

@jamestrew No need to apologize! Can confirm that it works, much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants