Replies: 1 comment
-
It looks like you're missing the array around hl i.e. return { { str = str, hl = { "NvimTreeOpenedHL" } } } Tested concept with bookmarks, no code changes needed: require("nvim-tree").setup({
renderer = {
highlight_bookmarks = "all",
icons = {
bookmarks_placement = "after",
glyphs = {
bookmark = "/...",
},
},
},
})
vim.cmd([[
:hi link NvimTreeBookmarkIcon NvimTreeBookmarkHL
]]) |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to replace nvim-tree's folder arrows with slashes like below:
However I want the slashes to inherit the line's highlight colors. I've tried doing it the hacky way and hijacking the
Builder
to no avail. I know that the root folder lets you add labels; this could also be solved using something like that for files, however I don't know of any features that exist that let you do that.Here's my decorator. Ignore the disorganization, there have been many revisions as I've went through failed attempts to do this:
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions