From 5e36b06dcabadd5fe453f481fd088ed80d0ce92e Mon Sep 17 00:00:00 2001 From: wancup <62416191+wancup@users.noreply.github.com> Date: Sat, 16 Mar 2024 00:52:27 +0900 Subject: [PATCH] fix(guides): prevent overwriting custom guide colors --- lua/flutter-tools/guides.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/flutter-tools/guides.lua b/lua/flutter-tools/guides.lua index a4dadc8a..336cac87 100644 --- a/lua/flutter-tools/guides.lua +++ b/lua/flutter-tools/guides.lua @@ -157,7 +157,9 @@ end function M.setup() local color = utils.get_hl("Normal", "fg") - if color and color ~= "" then utils.highlight(hl_group, { foreground = color }) end + if color and color ~= "" then + utils.highlight(hl_group, { foreground = color, default = true }) + end end local function is_buf_valid(bufnum)