Skip to content

Commit 8bf609c

Browse files
committed
fixed git signcolumn doesn't show
1 parent 9b04ff5 commit 8bf609c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/renderer/builder.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ end
193193
---@return HighlightedString[]|nil icon
194194
function Builder:_get_git_icons(node)
195195
local git_icons = git.get_icons(node)
196-
if git_icons and #git_icons > 0 and self.is_git_sign then
196+
if git_icons and #git_icons > 0 and self.git_placement == "signcolumn" then
197197
local sign = git_icons[1]
198198
table.insert(self.signs, { sign = sign.hl, lnum = self.index + 1, priority = 1 })
199199
git_icons = nil

0 commit comments

Comments
 (0)