From a3037fbf0b101daa0ab2564ee3948d52e470ce03 Mon Sep 17 00:00:00 2001 From: Shadman Date: Fri, 26 Mar 2021 18:51:48 +0600 Subject: [PATCH] BugFix: diagnostics highlight extraction (#144) --- lua/lualine/components/diagnostics.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/lualine/components/diagnostics.lua b/lua/lualine/components/diagnostics.lua index 0fb444c..de095b1 100644 --- a/lua/lualine/components/diagnostics.lua +++ b/lua/lualine/components/diagnostics.lua @@ -65,17 +65,17 @@ local function diagnostics(options) -- apply colors if not options.color_error then options.color_error = utils.extract_highlight_colors('DiffDelete', - 'foreground') or + 'guifg') or default_color_error end if not options.color_warn then options.color_warn = - utils.extract_highlight_colors('DiffText', 'foreground') or + utils.extract_highlight_colors('DiffText', 'guifg') or default_color_warn end if not options.color_info then options.color_info = - utils.extract_highlight_colors('Normal', 'foreground') or + utils.extract_highlight_colors('Normal', 'guifg') or default_color_info end