Replies: 1 comment
-
All the functionality that uses When A solution might be to open/edit links themselves rather than their target. That could be considered a bugfix and it's acceptable to nvim. pull requests are always welcome and I'd be happy to help you out on that one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Is it possible to disable symlinks from
update_focused_file.update_root
? What I want is to keepupdate_root=True
(so that sessions change root, etc), but without it following symlinks - the issue is that opening a symlink causes nvimtree withupdate_focused_file.update_root.enabled = True
to "lose" the original root; I would rather it kept the symlink nested under the old tree.I am now working around by putting the filename into the
ignore_list
manually, but that sucks.I believe the logic is here:
nvim-tree.lua/lua/nvim-tree.lua
Lines 35 to 39 in d43ab67
but neither path, nor nvims filetype show info about symlinks.
I think adding a custom function-like option into
ignore_list
would be best, but before implementing that, I even wonder if this is this the proper way to do it? Am I the only one who has symlinks && likesupdate_root
or am I doing something wrong?Thx!
Beta Was this translation helpful? Give feedback.
All reactions