on master help sign in
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>

commitdc418bb50739c8063978f4200fcd9fcae73db002 authorJosh Bainbridge <josh.bainbridge@gmail.com> dateMon 13 Mar 2023, 14:36 (4 years ago) parent951aecc
3 files changed+3
runtime/themes/gruvbox.toml+1 runtime/themes/gruvbox_dark_hard.toml+1 runtime/themes/gruvbox_light.toml+1
runtime/themes/gruvbox.toml+1
@@ -60,6 +60,7 @@
6060"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
6161"ui.virtual.whitespace" = "bg2"
6262"ui.virtual.ruler" = { bg = "bg1" }
63+"ui.virtual.inlay-hint" = { fg = "gray1" }
6364
6465"diagnostic.warning" = { underline = { color = "orange1", style = "curl" } }
6566"diagnostic.error" = { underline = { color = "red1", style = "curl" } }
runtime/themes/gruvbox_dark_hard.toml+1
@@ -66,6 +66,7 @@
6666"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
6767"ui.virtual.whitespace" = "bg2"
6868"ui.virtual.ruler" = { bg = "bg1" }
69+"ui.virtual.inlay-hint" = { fg = "gray1" }
6970
7071"markup.heading" = "aqua1"
7172"markup.bold" = { modifiers = ["bold"] }
runtime/themes/gruvbox_light.toml+1
@@ -61,6 +61,7 @@
6161"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
6262"ui.virtual.whitespace" = "bg2"
6363"ui.virtual.ruler" = { bg = "bg1" }
64+"ui.virtual.inlay-hint" = { fg = "gray1" }
6465
6566"diagnostic.warning" = { underline = { color = "orange1", style = "curl" } }
6667"diagnostic.error" = { underline = { color = "red1", style = "curl" } }