Update padding.lua

This commit is contained in:
smchunn 2025-04-24 09:29:01 -04:00 committed by GitHub
parent be5b788f2d
commit 6ade23371d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,10 +95,10 @@ function M.get_arrows(node)
local dir = node:as(DirectoryNode)
if dir then
if dir.open then
str = M.config.icons.glyphs.folder["arrow_open"] .. " "
str = M.config.icons.glyphs.folder["arrow_open"] .. M.config.icons.padding
hl = "NvimTreeFolderArrowOpen"
else
str = M.config.icons.glyphs.folder["arrow_closed"] .. " "
str = M.config.icons.glyphs.folder["arrow_closed"] .. M.config.icons.padding
end
elseif M.config.indent_markers.enable then
str = ""