feat: add NvimTreeSymlinkIcon (#2198)

* #2193 Add the ability to change the icon color for "symlink_formatted"

* Remove defaults and update doc #2198

---------

Co-authored-by: DoctorKnowsBetter <you@example.com>
Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
DoctorKnowsBetter
2023-05-15 03:54:36 +03:00
committed by GitHub
parent b6574056b5
commit 736c7ff590
2 changed files with 3 additions and 1 deletions

View File

@@ -173,8 +173,9 @@ function Builder:_build_symlink(node)
end
local link_highlight = "NvimTreeSymlink"
local icon_hl = "NvimTreeSymlinkIcon"
return { str = icon }, { str = symlink_formatted, hl = link_highlight }
return { str = icon, hl = icon_hl }, { str = symlink_formatted, hl = link_highlight }
end
---@param node table