Skip to content

Commit 1d058df

Browse files
committed
apply stylua formatting
1 parent fdca4e7 commit 1d058df

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lua/nvim-tree/renderer/components/padding.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ local function get_padding_indent_markers(depth, idx, nodes_number, markers, wit
3030
for i = 1, depth do
3131
local glyph
3232
if idx == nodes_number and i == depth then
33-
local bottom_width = M.config.indent_width - 2 +
34-
(with_arrows and not inline_arrows and has_folder_sibling and 2 or 0)
35-
glyph = M.config.indent_markers.icons.corner ..
36-
string.rep(M.config.indent_markers.icons.bottom, bottom_width) ..
37-
(M.config.indent_width > 1 and " " or "")
33+
local bottom_width = M.config.indent_width
34+
- 2
35+
+ (with_arrows and not inline_arrows and has_folder_sibling and 2 or 0)
36+
glyph = M.config.indent_markers.icons.corner
37+
.. string.rep(M.config.indent_markers.icons.bottom, bottom_width)
38+
.. (M.config.indent_width > 1 and " " or "")
3839
elseif markers[i] and i == depth then
3940
glyph = M.config.indent_markers.icons.item .. indent
4041
elseif markers[i] then

0 commit comments

Comments
 (0)