summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Bainbridge2023-03-13 14:36:40 +0000
committerGitHub2023-03-13 14:36:40 +0000
commitdc418bb50739c8063978f4200fcd9fcae73db002 (patch)
treef204d0e06f87adc6d0914ead3453c1d8628c22f3
parent951aecc01947a4505449dd58ff31cc14902c4ad7 (diff)
Update gruvbox color themes to support inlay hint (#6285)
The gruvbox themes (gruvbox, gruvbox dark hard and guvbox light) don't provide a colour for the new virtual inlay hints. Looking at the original repo, and other derivatives, there doesn't appear to be a clear definition of what inlay hints should be. Although most sources indicate that it can be the same as the color for comments. Considering that, this commit sets the new field on each of the three themes to be gray1, same as commented text. Signed-off-by: Josh Bainbridge <josh.bainbridge@gmail.com>
-rw-r--r--runtime/themes/gruvbox.toml1
-rw-r--r--runtime/themes/gruvbox_dark_hard.toml1
-rw-r--r--runtime/themes/gruvbox_light.toml1
3 files changed, 3 insertions, 0 deletions
diff --git a/runtime/themes/gruvbox.toml b/runtime/themes/gruvbox.toml
index b88becd1..c357e26c 100644
--- a/runtime/themes/gruvbox.toml
+++ b/runtime/themes/gruvbox.toml
@@ -60,6 +60,7 @@
"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
"ui.virtual.whitespace" = "bg2"
"ui.virtual.ruler" = { bg = "bg1" }
+"ui.virtual.inlay-hint" = { fg = "gray1" }
"diagnostic.warning" = { underline = { color = "orange1", style = "curl" } }
"diagnostic.error" = { underline = { color = "red1", style = "curl" } }
diff --git a/runtime/themes/gruvbox_dark_hard.toml b/runtime/themes/gruvbox_dark_hard.toml
index 7fe45e8c..98c1cc29 100644
--- a/runtime/themes/gruvbox_dark_hard.toml
+++ b/runtime/themes/gruvbox_dark_hard.toml
@@ -66,6 +66,7 @@
"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
"ui.virtual.whitespace" = "bg2"
"ui.virtual.ruler" = { bg = "bg1" }
+"ui.virtual.inlay-hint" = { fg = "gray1" }
"markup.heading" = "aqua1"
"markup.bold" = { modifiers = ["bold"] }
diff --git a/runtime/themes/gruvbox_light.toml b/runtime/themes/gruvbox_light.toml
index bd1a5ef2..b278af67 100644
--- a/runtime/themes/gruvbox_light.toml
+++ b/runtime/themes/gruvbox_light.toml
@@ -61,6 +61,7 @@
"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
"ui.virtual.whitespace" = "bg2"
"ui.virtual.ruler" = { bg = "bg1" }
+"ui.virtual.inlay-hint" = { fg = "gray1" }
"diagnostic.warning" = { underline = { color = "orange1", style = "curl" } }
"diagnostic.error" = { underline = { color = "red1", style = "curl" } }