Skip to content

Commit e44df1c

Browse files
authoredMar 28, 2024
fix(guides): prevent overwriting custom guide colors (#335)
1 parent b9e1f2c commit e44df1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎lua/flutter-tools/guides.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ end
157157

158158
function M.setup()
159159
local color = utils.get_hl("Normal", "fg")
160-
if color and color ~= "" then utils.highlight(hl_group, { foreground = color }) end
160+
if color and color ~= "" then
161+
utils.highlight(hl_group, { foreground = color, default = true })
162+
end
161163
end
162164

163165
local function is_buf_valid(bufnum)

0 commit comments

Comments
 (0)
Failed to load comments.