neo-tree.nvim icon indicating copy to clipboard operation
neo-tree.nvim copied to clipboard

FEATURE: Allow changing the `git_root` using `dir` for `git_status`

Open pdgendt opened this issue 1 year ago • 2 comments
trafficstars

Did you check the docs?

  • [X] I have read all the docs.

Is your feature request related to a problem? Please describe.

Opening a Neotree git_status when there are multiple git directories in cwd this will result in no files being listed. This can happen, for example using git submodule.

Describe the solution you'd like.

When setting dir this should be considered the git_root instead of cwd.

Describe alternatives you've considered.

No response

Additional Context

No response

pdgendt avatar Jan 15 '24 19:01 pdgendt

@pdgendt could you please try this PR? I have tested it on my laptop. :D

konosubakonoakua avatar Jun 17 '24 22:06 konosubakonoakua

@pdgendt could you please try this PR? I have tested it on my laptop. :D

Works like a charm! Thanks

pdgendt avatar Jun 18 '24 06:06 pdgendt