From fbc31eb998a01dac2ff34b4bd36e7438fc7337b7 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Fri, 17 Dec 2021 10:00:59 +0100 Subject: [PATCH] style(lspsaga): rearrange diagnostic highlights Rearrange `DiagnosticInformation` and `DiagnosticWarning` to their respective spots --- lua/rose-pine/theme.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 568d36b..42cb38e 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -176,7 +176,9 @@ local theme = { DiagnosticHint = { fg = config.colors.hint }, DiagnosticInfo = { fg = config.colors.info }, + DiagnosticInformation = { link = 'DiagnosticInfo' }, DiagnosticWarn = { fg = config.colors.warn }, + DiagnosticWarning = { link = 'DiagnosticWarn' }, DiagnosticError = { fg = config.colors.error }, DiagnosticDefaultHint = { fg = config.colors.hint }, DiagnosticDefaultInfo = { fg = config.colors.info }, @@ -413,9 +415,6 @@ local theme = { -- LspSaga -- https://github.com/tami5/lspsaga.nvim (fork of https://github.com/glepnir/lspsaga.nvim) - DiagnosticInformation = { link = 'DiagnosticInfo' }, - DiagnosticWarning = { link = 'DiagnosticWarn' }, - LspSagaCodeActionTitle = { fg = p.rose, style = 'bold',