From 529e6d9f325c82c0b40f8d8b329c6c310a6114c3 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 7 May 2021 12:07:59 +0200 Subject: [PATCH] refactor: removed setting lualine highlight groups for siagnostics. lualine PR will fix this --- lua/tokyonight/theme.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 4b74bfc..9e6cbe2 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -334,15 +334,6 @@ function M.setup(config) HopUnmatched = { fg = c.dark3 }, } - -- LuaLine - for _, section in ipairs({ "b", "c" }) do - local bg = c.bg_sidebar - if section == "b" then bg = c.fg_gutter end - theme.plugins["lualine_" .. section .. "_diagnostics_error_normal"] = { fg = c.error, bg = bg } - theme.plugins["lualine_" .. section .. "_diagnostics_warn_normal"] = { fg = c.warning, bg = bg } - theme.plugins["lualine_" .. section .. "_diagnostics_info_normal"] = { fg = c.info, bg = bg } - end - if config.hideInactiveStatusline then local inactive = { style = "underline", bg = c.bg, fg = c.bg, sp = c.border }