Skip to content

Commit 5e36b06

Browse files
committed
fix(guides): prevent overwriting custom guide colors
1 parent 01d72d9 commit 5e36b06

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)