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:
parent
b6574056b5
commit
736c7ff590
@ -2031,6 +2031,7 @@ as per |:highlight|
|
||||
Default linked group follows name.
|
||||
|
||||
NvimTreeSymlink
|
||||
NvimTreeSymlinkIcon
|
||||
NvimTreeSymlinkFolderName (Directory)
|
||||
NvimTreeFolderName (Directory)
|
||||
NvimTreeRootFolder
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user