From b65f104a3fe1d8bdd0dbf901f7c52576b2b5f1c0 Mon Sep 17 00:00:00 2001 From: Josh Bainbridge Date: Tue, 17 Jan 2023 22:16:05 +0000 Subject: [PATCH] Fix diagnostic indicator background for gruvbox themes (#5540) The diagnostic indicator background did not match the column or rows background colour as this was context specific, and the background for the indicator was being explicitly set. This commit removes the explicit value for the indicators background allowing it to adapt to the context. This is aligns it with other themes, and resolves the issue. --- runtime/themes/gruvbox.toml | 8 ++++---- runtime/themes/gruvbox_dark_hard.toml | 8 ++++---- runtime/themes/gruvbox_light.toml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/runtime/themes/gruvbox.toml b/runtime/themes/gruvbox.toml index 5d897201..c293fc3e 100644 --- a/runtime/themes/gruvbox.toml +++ b/runtime/themes/gruvbox.toml @@ -33,10 +33,10 @@ "diff.delta" = "orange1" "diff.minus" = "red1" -"warning" = { fg = "orange1", bg = "bg1" } -"error" = { fg = "red1", bg = "bg1" } -"info" = { fg = "aqua1", bg = "bg1" } -"hint" = { fg = "blue1", bg = "bg1" } +"warning" = "orange1" +"error" = "red1" +"info" = "aqua1" +"hint" = "blue1" "ui.background" = { bg = "bg0" } "ui.linenr" = { fg = "bg4" } diff --git a/runtime/themes/gruvbox_dark_hard.toml b/runtime/themes/gruvbox_dark_hard.toml index a1a83e65..f39cd906 100644 --- a/runtime/themes/gruvbox_dark_hard.toml +++ b/runtime/themes/gruvbox_dark_hard.toml @@ -34,10 +34,10 @@ "diff.delta" = "orange1" "diff.minus" = "red1" -"warning" = { fg = "orange1", bg = "bg1" } -"error" = { fg = "red1", bg = "bg1" } -"info" = { fg = "aqua1", bg = "bg1" } -"hint" = { fg = "blue1", bg = "bg1" } +"warning" = "orange1" +"error" = "red1" +"info" = "aqua1" +"hint" = "blue1" "diagnostic.error" = { underline = { style = "curl", color = "red0" } } "diagnostic.warning" = { underline = { style = "curl", color = "orange1" } } diff --git a/runtime/themes/gruvbox_light.toml b/runtime/themes/gruvbox_light.toml index 7c1c765d..8ea9d625 100644 --- a/runtime/themes/gruvbox_light.toml +++ b/runtime/themes/gruvbox_light.toml @@ -34,10 +34,10 @@ "diff.delta" = "orange1" "diff.minus" = "red1" -"warning" = { fg = "orange1", bg = "bg1" } -"error" = { fg = "red1", bg = "bg1" } -"info" = { fg = "aqua1", bg = "bg1" } -"hint" = { fg = "blue1", bg = "bg1" } +"warning" = "orange1" +"error" = "red1" +"info" = "aqua1" +"hint" = "blue1" "ui.background" = { bg = "bg0" } "ui.linenr" = { fg = "bg4" }