feat(renderer): indent_markers add a item icon (#1321)

This commit is contained in:
Rammiah
2022-06-05 20:19:19 +08:00
committed by GitHub
parent b0d27c09b6
commit 6f6eab14dc
4 changed files with 6 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ local function get_padding_indent_markers(depth, idx, nodes_number, _, markers)
for i = 1, rdepth do
if idx == nodes_number and i == rdepth then
padding = padding .. M.config.indent_markers.icons.corner
elseif markers[i] and i == rdepth then
padding = padding .. M.config.indent_markers.icons.item
elseif markers[i] then
padding = padding .. M.config.indent_markers.icons.edge
else