From 2cf3e2cac5fac14e128f2caa01586414e3f6c126 Mon Sep 17 00:00:00 2001 From: Prescott Murphy Date: Tue, 31 Aug 2021 18:07:17 +0000 Subject: [PATCH] Set colors for lsp diagnostics Fixes a small issue with coloring when `diagnostics = "nvim_lsp"` is set to enhance color consistency. --- lua/plugins/configs/bufferline.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/plugins/configs/bufferline.lua b/lua/plugins/configs/bufferline.lua index 0b15ae5..1f7421b 100644 --- a/lua/plugins/configs/bufferline.lua +++ b/lua/plugins/configs/bufferline.lua @@ -64,6 +64,16 @@ bufferline.setup { guifg = colors.light_grey, guibg = colors.black2, }, + + -- for diagnostics = "nvim_lsp" + error = { + guifg = colors.light_grey, + guibg = colors.black2, + }, + error_diagnostic = { + guifg = colors.light_grey, + guibg = colors.black2 + }, -- close buttons close_button = {