Highlight active file #2001
Unanswered
JoseConseco
asked this question in
Q&A
Replies: 2 comments 8 replies
-
Does |
Beta Was this translation helpful? Give feedback.
4 replies
-
Well it seems the require("nvim-tree").setup {
reload_on_bufenter = true,
renderer = { highlight_opened_files = "all" },
sync_root_with_cwd = true,
respect_buf_cwd = true,
update_focused_file = {
enable = true,
update_root = true,
ignore_list = {},
},
filters = { dotfiles = true },
view = {
cursorline = true,
preserve_window_proportions = true,
mappings = {
custom_only = false,
list = {
{ key = "l", action = "edit", action_cb = edit_or_open },
{ key = "L", action = "vsplit_preview", action_cb = vsplit_preview },
{ key = "h", action = "close_node" },
{ key = "H", action = "collapse_all", action_cb = collapse_all },
-- { key = "H", action = "call_hydra", action_cb = function() Hydra.spawn('nvim_tree_hydra') end },
},
},
},
actions = {
open_file = {
quit_on_open = false,
},
},
}
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Nvim tree can highlight opened files, and unfold required folders, but I would like it to highlight active file - eg. make active file bground brighter. Is there option for it? highlight_opened_files - seems to show all opened files, not the current one...
Beta Was this translation helpful? Give feedback.
All reactions