Skip to content

Not opening in repository root #184

Closed
@gegoune

Description

@gegoune

Have noticed that tree does not open in repository's root in case such as:

  1. ~/ $ nvim
    a. open file with Startify that is part of git repository
    b. invoke :NvimTreeFindFile — tree is opened with root still being ~ (I use vim vim-rooter to change nvim's pwd)
    c. close tree buffer with q (or any other way)
    d. invoke :NvimTreeFindFile again — tree correctly opened in buffer's repository root directory

1.a correctly changes nvim's directory; :pwd return repository's root directory for opened file so vim-rooter does its job.

Other than that - the best tree plugin there is! 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