sharpner / dotfiles-ng

next gen dotfiles
11 stars 1 forks source link

Rooter at MRU #11

Open dazorni opened 6 years ago

sharpner commented 6 years ago

when starting an empty vim session, open a file with MRU, then rooter does not correctly setup the root path.

Reproduce:


> $ vim
> press 0 for a nested file within a project (e.g. a go project)
> press ctrl+s for opening nerdtree

Expected:
root is github.com/vendor/project

Actual:
root is github.com/vendor/project/folder/file.go
sharpner commented 6 years ago

No Idea how to fix this yet.

Calling :Rooter directly after opening one of the MRU buffers, fixes the symptoms. So I assume then the startify plugin somehow disrupts the default bootstrap of the rooter plugin..