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

Fix(git_status): respect dir parameter passed into command #1499

Merged
merged 3 commits into from
Dec 31, 2024

Conversation

konosubakonoakua
Copy link
Contributor

should close #1309
now this should work

      {
        "<leader>ge",
        function()
          require("neo-tree.command").execute({
            toggle = true,
            dir = LazyVim.root(), -- or comment it, then cwd becomes default
            source = "git_status",
          })
        end,
        desc = "Git Explorer",
      },

Copy link
Collaborator

@pynappo pynappo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, sorry for the delay!

@pynappo pynappo changed the title Fix(git_status): respect dir parameter passed into execute Fix(git_status): respect dir parameter passed into command Dec 31, 2024
@pynappo pynappo merged commit 2a0b2c5 into nvim-neo-tree:main Dec 31, 2024
4 checks passed
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.

FEATURE: Allow changing the git_root using dir for git_status
3 participants