Skip to content

Refreshing or adding files reset the root dir to cwd #339

@jaekyeom

Description

@jaekyeom

Hi again,

I think that refreshing (which also seems to happen after renaming, etc.) or adding files set the root directory of neo-tree.nvim to the current working directory of nvim (e.g., 1, 2 pass nil instead of state.path?).

As a user who uses bind_to_cwd = false, I believe maintaining the root directory of neo-tree.nvim would be a more intuitive behavior.
If this was intentional, could you reconsider it, please?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions