Skip to content

Keep root dir the same as opening dir. #2581

Discussion options

You must be logged in to vote

I've taken a look at lunarvim and it is configured with sync_root_with_cwd, update_focused_file.update_root and other tree root modifiers.

https://github.com/LunarVim/LunarVim/blob/fc9716a65f304400417bf79c00912cd670272c8a/lua/lvim/core/nvimtree.lua

You can reset / clear those options as per defaults: :help nvim-tree-setup

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ChrisTaylorDeveloper
Comment options

@alex-courtis
Comment options

Answer selected by ChrisTaylorDeveloper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants