* feat(#1079): add highlight NvimTreeCopiedText and NvimTreeCutText * feat(#1079): add highlight NvimTreeCopiedText and NvimTreeCutText * feat(#1079): node may not be present in copy and cut * feat(#1079): add renderer.highlight_clipboard * feat(#1079): renderer.highlight_clipboard takes options, style cut/copy HL * feat(#1079): renderer.highlight_clipboard takes options, style cut/copy HL * feat(#1079): use an enum for highlight position * feat(#1079): diagnostics uses _append_highlight
This commit is contained in:
committed by
GitHub
parent
f742b86852
commit
a3aa3b47ea
@@ -78,7 +78,7 @@ function M.get_indent_markers(depth, idx, nodes_number, node, markers)
|
||||
str = str .. string.rep(" ", depth * indent_width)
|
||||
end
|
||||
|
||||
return { str = str, hl = "NvimTreeIndentMarker" }
|
||||
return { str = str, hl = { "NvimTreeIndentMarker" } }
|
||||
end
|
||||
|
||||
---@param node table
|
||||
@@ -104,7 +104,7 @@ function M.get_arrows(node)
|
||||
str = " "
|
||||
end
|
||||
|
||||
return { str = str, hl = hl }
|
||||
return { str = str, hl = { hl } }
|
||||
end
|
||||
|
||||
function M.setup(opts)
|
||||
|
||||
Reference in New Issue
Block a user