diff --git a/runtime/themes/acme.toml b/runtime/themes/acme.toml index 650924741db99..195e06354f986 100644 --- a/runtime/themes/acme.toml +++ b/runtime/themes/acme.toml @@ -24,6 +24,8 @@ "diagnostic.error" = {bg="red", fg="white", modifiers=["bold"]} "diagnostic.warning" = {bg="orange", fg="black", modifiers=["bold"]} "diagnostic.hint" = {fg="gray", modifiers=["bold"]} +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "black", bg = "acme_bar_bg" } "ui.bufferline.active" = { fg = "black", bg = "acme_bg" } "diff.plus" = {fg = "green"} diff --git a/runtime/themes/adwaita-dark.toml b/runtime/themes/adwaita-dark.toml index 2ecfe08e00e19..e8f1a58875252 100644 --- a/runtime/themes/adwaita-dark.toml +++ b/runtime/themes/adwaita-dark.toml @@ -98,6 +98,8 @@ "diagnostic.info" = { fg = "purple_2", modifiers = ["dim"] } "diagnostic.error" = { fg = "red_4", modifiers = ["underlined"] } "diagnostic.warning" = { fg = "yellow_2", modifiers = ["underlined"] } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "dark_2", bg = "libadwaita_dark" } "ui.bufferline.active" = { fg = "light_4", bg = "libadwaita_dark_alt" } diff --git a/runtime/themes/amberwood.toml b/runtime/themes/amberwood.toml index 142ded369303d..30b4169ab5581 100644 --- a/runtime/themes/amberwood.toml +++ b/runtime/themes/amberwood.toml @@ -95,6 +95,8 @@ "ui.menu.scroll" = { fg = "gray04", bg = "gray01" } diagnostic = { modifiers = ["underlined"] } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "yellow" error = "error" diff --git a/runtime/themes/autumn.toml b/runtime/themes/autumn.toml index ce684a6a68bb0..93ccf688e0a4a 100644 --- a/runtime/themes/autumn.toml +++ b/runtime/themes/autumn.toml @@ -19,6 +19,8 @@ "diagnostic.info" = { underline = { style = "line" } } "diagnostic" = { underline = { style = "line", color = "my_gray5" }, bg = "my_black"} "diagnostic.warning" = { underline = { style = "curl", color = "my_yellow2" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "diff.delta" = "my_gray5" "diff.minus" = "my_red" "diff.plus" = "my_green" diff --git a/runtime/themes/ayu_dark.toml b/runtime/themes/ayu_dark.toml index 0b011b0eaf2f3..ff6694e92d11f 100644 --- a/runtime/themes/ayu_dark.toml +++ b/runtime/themes/ayu_dark.toml @@ -66,6 +66,8 @@ "diagnostic.info"= { underline = { color = "blue", style="curl"} } "diagnostic.warning"= { underline = { color = "yellow", style="curl"} } "diagnostic.error"= { underline = { color = "red", style="curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } "ui.debug" = { fg = "orange", bg = "background" } diff --git a/runtime/themes/ayu_light.toml b/runtime/themes/ayu_light.toml index 6c405381d044c..d0eca78a137a2 100644 --- a/runtime/themes/ayu_light.toml +++ b/runtime/themes/ayu_light.toml @@ -66,6 +66,8 @@ "diagnostic.info"= { underline = { color = "blue", style = "curl" } } "diagnostic.warning"= { underline = { color = "yellow", style = "curl" } } "diagnostic.error"= { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } "ui.debug" = { fg = "orange", bg = "background" } diff --git a/runtime/themes/ayu_mirage.toml b/runtime/themes/ayu_mirage.toml index a4b74fcfbd776..677a7af6f1d4e 100644 --- a/runtime/themes/ayu_mirage.toml +++ b/runtime/themes/ayu_mirage.toml @@ -66,6 +66,8 @@ "diagnostic.info"= { underline = { color = "blue", style = "curl" } } "diagnostic.warning"= { underline = { color = "yellow", style = "curl" } } "diagnostic.error"= { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } "ui.debug" = { fg = "orange", bg = "background" } diff --git a/runtime/themes/bogster.toml b/runtime/themes/bogster.toml index 1ea13f1f528fd..f7d08daa99145 100644 --- a/runtime/themes/bogster.toml +++ b/runtime/themes/bogster.toml @@ -77,6 +77,8 @@ "diagnostic.error" = { underline = { color = "bogster-lred", style = "curl"} } "diagnostic.info" = { underline = { color = "bogster-teal", style = "curl"} } "diagnostic.hint" = { underline = { color = "bogster-blue", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] bogster-yellow = "#dcb659" diff --git a/runtime/themes/bogster_light.toml b/runtime/themes/bogster_light.toml index e528d89d9e520..3259d6777cbe6 100644 --- a/runtime/themes/bogster_light.toml +++ b/runtime/themes/bogster_light.toml @@ -77,6 +77,8 @@ "diagnostic.error" = { underline = { color = "bogster-lred", style = "curl"} } "diagnostic.info" = { underline = { color = "bogster-teal", style = "curl"} } "diagnostic.hint" = { underline = { color = "bogster-blue", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] bogster-orange = "#dc7759" diff --git a/runtime/themes/boo_berry.toml b/runtime/themes/boo_berry.toml index d3a3e22328f4e..929bbc742d034 100644 --- a/runtime/themes/boo_berry.toml +++ b/runtime/themes/boo_berry.toml @@ -67,6 +67,8 @@ "diagnostic.error" = { underline = { color = "gold", style = "curl"} } "diagnostic.info" = { underline = { color = "lilac", style = "curl"} } "diagnostic.hint" = { underline = { color = "lilac", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] berry = "#3A2A4D" diff --git a/runtime/themes/catppuccin_mocha.toml b/runtime/themes/catppuccin_mocha.toml index 5fcb723172e32..58173dab15c34 100644 --- a/runtime/themes/catppuccin_mocha.toml +++ b/runtime/themes/catppuccin_mocha.toml @@ -116,6 +116,8 @@ "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.info" = { underline = { color = "sky", style = "curl" } } "diagnostic.hint" = { underline = { color = "teal", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "red" warning = "yellow" diff --git a/runtime/themes/curzon.toml b/runtime/themes/curzon.toml index 1303519fb6104..d5a608f5f78a9 100644 --- a/runtime/themes/curzon.toml +++ b/runtime/themes/curzon.toml @@ -75,6 +75,8 @@ label = "label" "diagnostic.info" = { underline = { color = "info", style = "curl" } } "diagnostic.warning" = { underline = { color = "warning", style = "curl" } } "diagnostic.error" = { underline = { color = "error", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "warning" error = "#f43f5e" diff --git a/runtime/themes/cyan_light.toml b/runtime/themes/cyan_light.toml index d8c93fe7e9e4b..2ac57cd3249be 100644 --- a/runtime/themes/cyan_light.toml +++ b/runtime/themes/cyan_light.toml @@ -117,6 +117,8 @@ "diagnostic.info" = { underline = { color = "light_blue", style = "line" } } "diagnostic.warning" = { underline = { color = "orange", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] shade00 = "#f2f3f7" diff --git a/runtime/themes/darcula.toml b/runtime/themes/darcula.toml index b704d60ee79b3..db6ce989dfcb7 100644 --- a/runtime/themes/darcula.toml +++ b/runtime/themes/darcula.toml @@ -76,6 +76,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl"} } "diagnostic.info" = { underline = { color = "grey05", style = "curl"} } "diagnostic.hint" = { underline = { color = "grey05", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = "grey05" "hint" = "grey05" diff --git a/runtime/themes/dark_high_contrast.toml b/runtime/themes/dark_high_contrast.toml index 51701cfce9354..6da2389a601b3 100644 --- a/runtime/themes/dark_high_contrast.toml +++ b/runtime/themes/dark_high_contrast.toml @@ -54,6 +54,8 @@ "diagnostic.hint" = { underline = { color = "yellow", style = "dashed" } } "diagnostic.warning" = { underline = { color = "orange", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = "white" "hint" = "yellow" "warning" = "orange" diff --git a/runtime/themes/doom_acario_dark.toml b/runtime/themes/doom_acario_dark.toml index 47f1dfca8bc76..5c4bd0dd87fbe 100644 --- a/runtime/themes/doom_acario_dark.toml +++ b/runtime/themes/doom_acario_dark.toml @@ -78,6 +78,8 @@ 'diagnostic.error'= { underline = { color = 'red', style = "curl"} } 'diagnostic.info'= { underline = { color = 'blue', style = "curl"} } 'diagnostic.warning'= { underline = { color = 'yellow', style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } 'special' = { fg = 'orange' } diff --git a/runtime/themes/dracula.toml b/runtime/themes/dracula.toml index 4e01bae2d2fac..c1a9a12bc84a4 100644 --- a/runtime/themes/dracula.toml +++ b/runtime/themes/dracula.toml @@ -26,6 +26,8 @@ "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "cyan", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "error" = { fg = "red" } "hint" = { fg = "purple" } diff --git a/runtime/themes/dracula_at_night.toml b/runtime/themes/dracula_at_night.toml index b91bd00d0f828..55f2615398c14 100644 --- a/runtime/themes/dracula_at_night.toml +++ b/runtime/themes/dracula_at_night.toml @@ -49,6 +49,9 @@ "error" = { fg = "red" } "warning" = { fg = "cyan" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + "markup.heading" = { fg = "purple", modifiers = ["bold"] } "markup.list" = "cyan" "markup.bold" = { fg = "orange", modifiers = ["bold"] } diff --git a/runtime/themes/emacs.toml b/runtime/themes/emacs.toml index 513af60e165ff..c60afe99e3381 100644 --- a/runtime/themes/emacs.toml +++ b/runtime/themes/emacs.toml @@ -87,6 +87,8 @@ "diagnostic.warning" = { underline = { color = "dark_orange", style = "curl" } } "diagnostic.info" = { underline = { color = "forest_green", style = "curl" } } "diagnostic.hint" = { underline = { color = "dark_cyan", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] black = "#000000" diff --git a/runtime/themes/everblush.toml b/runtime/themes/everblush.toml index b49bf0494fa6b..9c1fa062e8806 100644 --- a/runtime/themes/everblush.toml +++ b/runtime/themes/everblush.toml @@ -79,6 +79,8 @@ "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.info" = { underline = { style = "curl", color = "blue" } } "diagnostic.hint" = { underline = { style = "curl", color = "green" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "special" = { fg = "red-light" } "markup.heading" = { fg = "blue", modifiers = ["bold"] } diff --git a/runtime/themes/everforest_dark.toml b/runtime/themes/everforest_dark.toml index a3083d5390760..37b6756f5b977 100644 --- a/runtime/themes/everforest_dark.toml +++ b/runtime/themes/everforest_dark.toml @@ -111,6 +111,8 @@ "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] diff --git a/runtime/themes/everforest_light.toml b/runtime/themes/everforest_light.toml index cf39e23d62fd7..b7448455ca22f 100644 --- a/runtime/themes/everforest_light.toml +++ b/runtime/themes/everforest_light.toml @@ -110,6 +110,8 @@ "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] diff --git a/runtime/themes/ferra.toml b/runtime/themes/ferra.toml index 0734f24078360..212fb5105bdde 100644 --- a/runtime/themes/ferra.toml +++ b/runtime/themes/ferra.toml @@ -68,6 +68,8 @@ "diagnostic.error" = { underline = { color = "ferra_ember", style = "curl" } } "diagnostic.info" = { underline = { color = "ferra_blush", style = "curl" } } "diagnostic.hint" = { underline = { color = "ferra_blush", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] ferra_night = "#2b292d" diff --git a/runtime/themes/flatwhite.toml b/runtime/themes/flatwhite.toml index d833d5c66eae3..cc8f536cbd86b 100644 --- a/runtime/themes/flatwhite.toml +++ b/runtime/themes/flatwhite.toml @@ -25,6 +25,8 @@ "diagnostic.info" = { underline = { color = "orange_text", style = "curl" } } "diagnostic.warning" = { underline = { color = "orange_text", style = "curl" } } "diagnostic.error" = { underline = { color = "diff_delete", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "orange_text", bg = "orange_bg" } "hint" = { modifiers = ["bold"] } diff --git a/runtime/themes/fleet_dark.toml b/runtime/themes/fleet_dark.toml index b5ad1aa3ecc0d..7fd26c1f89371 100644 --- a/runtime/themes/fleet_dark.toml +++ b/runtime/themes/fleet_dark.toml @@ -105,6 +105,8 @@ "diagnostic.info" = { underline = { color = "#A366C4", style = "line" } } "diagnostic.warning" = { underline = { color = "#FACB66", style = "line" } } "diagnostic.error" = { underline = { color = "#FF5269", style = "line" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] "White" = "#ffffff" diff --git a/runtime/themes/flexoki_light.toml b/runtime/themes/flexoki_light.toml index b506ab428e82e..8badd922232c1 100644 --- a/runtime/themes/flexoki_light.toml +++ b/runtime/themes/flexoki_light.toml @@ -30,6 +30,8 @@ "diagnostic.info" = { underline = { color = "bl", style = "curl" } } "diagnostic.warning" = { underline = { color = "ye", style = "curl" } } "diagnostic.error" = { underline = { color = "re", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "hint" = { fg = "bl", modifiers = ["bold"] } "info" = { fg = "ye", modifiers = ["bold"] } "warning" = { fg = "or", modifiers = ["bold"] } diff --git a/runtime/themes/github_dark.toml b/runtime/themes/github_dark.toml index 6b3354848c977..dafba559dbd36 100644 --- a/runtime/themes/github_dark.toml +++ b/runtime/themes/github_dark.toml @@ -78,6 +78,8 @@ label = "scale.red.3" "diagnostic.info" = { underline = { color = "accent.fg", style = "curl" } } "diagnostic.warning" = { underline = { color = "attention.fg", style = "curl" } } "diagnostic.error" = { underline = { color = "danger.fg", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } hint = "success.fg" info = "accent.fg" diff --git a/runtime/themes/github_light.toml b/runtime/themes/github_light.toml index e6912a987c60b..cd3f1e5d16cd0 100644 --- a/runtime/themes/github_light.toml +++ b/runtime/themes/github_light.toml @@ -78,6 +78,8 @@ label = "scale.red.5" "diagnostic.info" = { underline = { color = "accent.fg", style = "curl" } } "diagnostic.warning" = { underline = { color = "attention.fg", style = "curl" } } "diagnostic.error" = { underline = { color = "danger.fg", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } hint = "success.fg" info = "accent.fg" diff --git a/runtime/themes/gruber-darker.toml b/runtime/themes/gruber-darker.toml index 355a3be83e8b5..4737f52f74e53 100644 --- a/runtime/themes/gruber-darker.toml +++ b/runtime/themes/gruber-darker.toml @@ -72,6 +72,8 @@ "diagnostic.error" = { underline = { color = "red3", style = "dashed" } } "diagnostic.info" = { underline = { color = "aqua1", style = "dashed" } } "diagnostic.hint" = { underline = { color = "blue0", style = "dashed" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "markup.heading" = { fg = "aqua1", modifiers = ["bold"] } "markup.bold" = { modifiers = ["bold"] } diff --git a/runtime/themes/gruvbox.toml b/runtime/themes/gruvbox.toml index 3c1dfc593725d..a6b0636d3e9e4 100644 --- a/runtime/themes/gruvbox.toml +++ b/runtime/themes/gruvbox.toml @@ -71,6 +71,8 @@ "diagnostic.error" = { underline = { color = "red1", style = "curl" } } "diagnostic.info" = { underline = { color = "aqua1", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue1", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "markup.heading" = "aqua1" "markup.bold" = { modifiers = ["bold"] } diff --git a/runtime/themes/heisenberg.toml b/runtime/themes/heisenberg.toml index 3c127a3e4bf90..9f8ca1832f10b 100644 --- a/runtime/themes/heisenberg.toml +++ b/runtime/themes/heisenberg.toml @@ -63,6 +63,8 @@ "diagnostic.info" = { underline = {color = "crystal_blue", style = "curl" } } "diagnostic.warning" = { underline = {color = "vapor_yellow", style = "curl" } } "diagnostic.error" = { underline = {color = "chili_powder_red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } diff --git a/runtime/themes/hex_steel.toml b/runtime/themes/hex_steel.toml index c81df4097371f..fb4fc1fd89def 100644 --- a/runtime/themes/hex_steel.toml +++ b/runtime/themes/hex_steel.toml @@ -64,6 +64,8 @@ "diagnostic.warning" = { underline = { color = "warning", style = "curl" } } "diagnostic.info" = { underline = { color = "info", style = "curl" } } "diagnostic.hint" = { underline = { color = "display", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "error" = { fg = "error", modifiers = ["bold"] } "warning" = { fg = "warning", modifiers = ["bold"] } diff --git a/runtime/themes/horizon-dark.toml b/runtime/themes/horizon-dark.toml index b879b432c6560..64f4022d9f047 100644 --- a/runtime/themes/horizon-dark.toml +++ b/runtime/themes/horizon-dark.toml @@ -45,6 +45,8 @@ namespace = "orange" "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostics.error" = { underline = { color = "red", style = "curl" } } "diagnostics.warning" = { underline = { color = "orange", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = { fg = "orange", modifiers = ["bold"] } error = { fg = "red", modifiers = ["bold"] } diff --git a/runtime/themes/ingrid.toml b/runtime/themes/ingrid.toml index 8942c3ca2971b..975f7a733c275 100644 --- a/runtime/themes/ingrid.toml +++ b/runtime/themes/ingrid.toml @@ -73,3 +73,5 @@ "diagnostic.error" = { underline = { color = "#D74E50", style = "curl" } } "diagnostic.info" = { underline = { color = "#839A53", style = "curl" } } "diagnostic.hint" = { underline = { color = "#A6B6CE", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } diff --git a/runtime/themes/jellybeans.toml b/runtime/themes/jellybeans.toml index 55088c2981943..6f8c326f42623 100644 --- a/runtime/themes/jellybeans.toml +++ b/runtime/themes/jellybeans.toml @@ -99,6 +99,8 @@ "diagnostic.info" = { underline = { color = "blue_accent", style = "line" } } "diagnostic.warning" = { underline = { color = "yellow_accent", style = "line" } } "diagnostic.error" = { underline = { color = "red_error", style = "line" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] background = "#151515" diff --git a/runtime/themes/kanagawa.toml b/runtime/themes/kanagawa.toml index 4ec938f4183d1..99cbed332a9b8 100644 --- a/runtime/themes/kanagawa.toml +++ b/runtime/themes/kanagawa.toml @@ -52,6 +52,8 @@ "diagnostic.warning" = { underline = { color = "roninYellow", style = "curl" } } "diagnostic.info" = { underline = { color = "waveAqua1", style = "curl" } } "diagnostic.hint" = { underline = { color = "dragonBlue", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "samuraiRed" warning = "roninYellow" diff --git a/runtime/themes/kaolin-dark.toml b/runtime/themes/kaolin-dark.toml index b8188f7693ded..d8c17391ce28b 100644 --- a/runtime/themes/kaolin-dark.toml +++ b/runtime/themes/kaolin-dark.toml @@ -44,6 +44,8 @@ "diagnostic.warning" = { underline = { style = "curl", color = "warn" } } "diagnostic.info" = { underline = { style = "curl", color = "info" } } "diagnostic.hint" = { underline = { style = "curl", color = "hint" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.background" = { bg = "bg0" } "ui.linenr" = { fg = "gray0" } diff --git a/runtime/themes/material_deep_ocean.toml b/runtime/themes/material_deep_ocean.toml index 6cf4c0a6fcec9..874731769d6c5 100644 --- a/runtime/themes/material_deep_ocean.toml +++ b/runtime/themes/material_deep_ocean.toml @@ -95,6 +95,9 @@ error = "error" info = "blue" hint = "purple" +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + [palette] bg = "#0f111a" text = "#a6accd" diff --git a/runtime/themes/meliora.toml b/runtime/themes/meliora.toml index e7037e18d7a64..87f0cb092b545 100644 --- a/runtime/themes/meliora.toml +++ b/runtime/themes/meliora.toml @@ -58,6 +58,8 @@ "diagnostic.warning" = { underline = { color = "orange", style = "curl" } } "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "magenta", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "error" = { fg = "red" } "warning" = { fg = "orange" } diff --git a/runtime/themes/mellow.toml b/runtime/themes/mellow.toml index 16d7b60866b5c..8ab66622f058a 100644 --- a/runtime/themes/mellow.toml +++ b/runtime/themes/mellow.toml @@ -99,6 +99,8 @@ "diagnostic.error" = { underline = { color = "bright_red", style = "curl" } } "diagnostic.info" = { underline = { color = "bright_blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "bright_cyan", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "bright_yellow" error = "bright_red" diff --git a/runtime/themes/merionette.toml b/runtime/themes/merionette.toml index e4d5d67373c88..d8e7d77036815 100644 --- a/runtime/themes/merionette.toml +++ b/runtime/themes/merionette.toml @@ -63,6 +63,8 @@ "diagnostic.hint" = { underline = { color = "white0", style = "double_line" } } "diagnostic.info" = { underline = { color = "blue0", style = "double_line" } } "diagnostic.warning" = { underline = { color = "green1", style = "double_line" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "markup.bold" = { modifiers = ["bold"] } "markup.heading" = { fg = "orange1", modifiers = ["bold"] } diff --git a/runtime/themes/modus_operandi.toml b/runtime/themes/modus_operandi.toml index ad4b3c85a54c8..e7599c018c0a8 100644 --- a/runtime/themes/modus_operandi.toml +++ b/runtime/themes/modus_operandi.toml @@ -99,6 +99,8 @@ punctuation = "fg-dim" "diagnostic.warning" = { underline = { color = "yellow-intense", style = "curl" } } "diagnostic.info" = { underline = { color = "cyan-intense", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue-intense", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "red" warning = "yellow-warmer" diff --git a/runtime/themes/modus_vivendi.toml b/runtime/themes/modus_vivendi.toml index a44fbe0f7c6d8..74974bcb2ce32 100644 --- a/runtime/themes/modus_vivendi.toml +++ b/runtime/themes/modus_vivendi.toml @@ -102,6 +102,8 @@ punctuation = "fg-dim" "diagnostic.warning" = { underline = { color = "yellow-intense", style = "curl" } } "diagnostic.info" = { underline = { color = "cyan-intense", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue-intense", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "red" warning = "yellow-warmer" diff --git a/runtime/themes/monokai.toml b/runtime/themes/monokai.toml index bcb6c8d05f6b3..a849ae96d2a9a 100644 --- a/runtime/themes/monokai.toml +++ b/runtime/themes/monokai.toml @@ -96,6 +96,8 @@ "diagnostic.error" = { underline = { color = "#f48771", style = "curl" } } "diagnostic.info" = { underline = { color = "#75beff", style = "curl" } } "diagnostic.hint" = { underline = { color = "#eeeeb3", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] type = "#A6E22E" diff --git a/runtime/themes/monokai_pro.toml b/runtime/themes/monokai_pro.toml index 65a95a7d39a66..97f2a57c5c2c0 100644 --- a/runtime/themes/monokai_pro.toml +++ b/runtime/themes/monokai_pro.toml @@ -100,6 +100,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_machine.toml b/runtime/themes/monokai_pro_machine.toml index 739418ceaeb2e..e1f74b1cbeab8 100644 --- a/runtime/themes/monokai_pro_machine.toml +++ b/runtime/themes/monokai_pro_machine.toml @@ -97,6 +97,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_octagon.toml b/runtime/themes/monokai_pro_octagon.toml index c88b327bdb181..cfa85b651b586 100644 --- a/runtime/themes/monokai_pro_octagon.toml +++ b/runtime/themes/monokai_pro_octagon.toml @@ -100,6 +100,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_ristretto.toml b/runtime/themes/monokai_pro_ristretto.toml index 6e1a0cb29187d..a6ba6fcf31d74 100644 --- a/runtime/themes/monokai_pro_ristretto.toml +++ b/runtime/themes/monokai_pro_ristretto.toml @@ -97,6 +97,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_spectrum.toml b/runtime/themes/monokai_pro_spectrum.toml index 89b131bea0f42..1bfcb688928e0 100644 --- a/runtime/themes/monokai_pro_spectrum.toml +++ b/runtime/themes/monokai_pro_spectrum.toml @@ -97,6 +97,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_soda.toml b/runtime/themes/monokai_soda.toml index 84a846eb75ba0..ca36d4e9393cd 100644 --- a/runtime/themes/monokai_soda.toml +++ b/runtime/themes/monokai_soda.toml @@ -14,6 +14,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "pink" } } "diagnostic.warning" = { underline = { style = "curl", color = "orange" } } "diagnostic.info" = { underline = { style = "curl", color = "white" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } ## Diffs "diff.plus" = "green" diff --git a/runtime/themes/naysayer.toml b/runtime/themes/naysayer.toml index 41530d1416a9f..d85f31e2db7c1 100644 --- a/runtime/themes/naysayer.toml +++ b/runtime/themes/naysayer.toml @@ -25,6 +25,8 @@ "diagnostic.error" = { bg = "error", fg = "text", modifiers = ["bold"] } "diagnostic.warning" = { bg = "warning", fg = "text", modifiers = ["bold"] } "diagnostic.hint" = { bg = "cyan", modifiers = ["bold"] } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "text", bg = "bg" } "ui.bufferline.active" = { fg = "text", bg = "bg", modifiers = ['underlined'] } "ui.gutter.selected" = { bg = "highlight-line", modifiers = ["bold"] } diff --git a/runtime/themes/new_moon.toml b/runtime/themes/new_moon.toml index 4f878c7e0fd76..2f0dbb0add691 100644 --- a/runtime/themes/new_moon.toml +++ b/runtime/themes/new_moon.toml @@ -96,6 +96,8 @@ "diagnostic.error".underline = { color = "red", style = "curl" } "diagnostic".underline = { color = "yellow", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] darkest = "#2d2d2d" diff --git a/runtime/themes/night_owl.toml b/runtime/themes/night_owl.toml index fc27dc7ccb4c0..ed3c028913a37 100644 --- a/runtime/themes/night_owl.toml +++ b/runtime/themes/night_owl.toml @@ -10,6 +10,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "paleblue", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # UI 'ui.background' = { fg = 'foreground', bg = 'background' } diff --git a/runtime/themes/nightfox.toml b/runtime/themes/nightfox.toml index 3dfb4fce55275..62db82c0061a0 100644 --- a/runtime/themes/nightfox.toml +++ b/runtime/themes/nightfox.toml @@ -76,6 +76,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } # Diagnostics error (editing area) "diagnostic.info" = { underline = { color = "blue", style = "curl" } } # Diagnostics info (editing area) "diagnostic.hint" = { underline = { color = "green", style = "curl" } } # Diagnostics hint (editing area) +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # SYNTAX HIGHLIGHTING diff --git a/runtime/themes/noctis.toml b/runtime/themes/noctis.toml index c9f95f7fe69a7..db127229e59b7 100644 --- a/runtime/themes/noctis.toml +++ b/runtime/themes/noctis.toml @@ -17,6 +17,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "mid-blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "light-green", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # UI ============================== # For styling helix itself. diff --git a/runtime/themes/noctis_bordo.toml b/runtime/themes/noctis_bordo.toml index c3bbe79c9b2ad..c5e04f2a11cde 100644 --- a/runtime/themes/noctis_bordo.toml +++ b/runtime/themes/noctis_bordo.toml @@ -59,6 +59,8 @@ "diagnostic.hint" = { underline = { color = "base03", style = "curl" } } "diagnostic.warning" = { underline = { color = "base09", style = "curl" } } "diagnostic.error" = { underline = { color = "base08", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.gutter" = { bg = "base01" } "info" = "base0D" diff --git a/runtime/themes/nord.toml b/runtime/themes/nord.toml index 0fe6db12fd2f9..4916c3e84f5ed 100644 --- a/runtime/themes/nord.toml +++ b/runtime/themes/nord.toml @@ -24,6 +24,8 @@ "info" = "nord8" "diagnostic.warning" = { underline = { color = "nord13", style = "curl" } } "warning" = "nord13" +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # Diffs "diff.delta" = "nord13" diff --git a/runtime/themes/nord_light.toml b/runtime/themes/nord_light.toml index 2d36cc806d853..6c27c507ae1da 100644 --- a/runtime/themes/nord_light.toml +++ b/runtime/themes/nord_light.toml @@ -35,6 +35,8 @@ "diagnostic.warning" = { underline = { color = "nord13", style = "curl" } } "diagnostic.info" = { underline = { color = "nord13", style = "curl" } } "diagnostic.hint" = { underline = { color = "nord13", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "constant.numeric" = {fg="nord15"} "constant.builtin" = {fg="nord15"} diff --git a/runtime/themes/onedark.toml b/runtime/themes/onedark.toml index 5b049aff9425b..7cdeac0957a81 100644 --- a/runtime/themes/onedark.toml +++ b/runtime/themes/onedark.toml @@ -45,6 +45,8 @@ "diagnostic.hint".underline = { color = "green", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } "warning" = { fg = "yellow", modifiers = ["bold"] } diff --git a/runtime/themes/onedarker.toml b/runtime/themes/onedarker.toml index 3078714457164..ffa3ae2dc5735 100644 --- a/runtime/themes/onedarker.toml +++ b/runtime/themes/onedarker.toml @@ -46,6 +46,8 @@ "diagnostic.hint".underline = { color = "green", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } diff --git a/runtime/themes/onelight.toml b/runtime/themes/onelight.toml index 209f71ab66391..e395716dd0487 100644 --- a/runtime/themes/onelight.toml +++ b/runtime/themes/onelight.toml @@ -163,6 +163,8 @@ "diagnostic.hint" = { underline = { color = "green", style = "dashed" } } "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } diff --git a/runtime/themes/papercolor-light.toml b/runtime/themes/papercolor-light.toml index 279fa24299646..246b0ddd85e20 100644 --- a/runtime/themes/papercolor-light.toml +++ b/runtime/themes/papercolor-light.toml @@ -49,6 +49,8 @@ "diagnostic.error".underline = { color = "bright1", style = "curl" } "diagnostic.info".underline = { color = "bright4", style = "curl" } "diagnostic.hint".underline = { color = "bright6", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # Tree-sitter scopes for syntax highlighting "attribute" = "bright4" diff --git a/runtime/themes/penumbra+.toml b/runtime/themes/penumbra+.toml index bc53e82e07b05..728a80900b9a2 100644 --- a/runtime/themes/penumbra+.toml +++ b/runtime/themes/penumbra+.toml @@ -47,6 +47,8 @@ error = "red" "diagnostic.info".underline = { color = "sky", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.background" = { bg = "shade" } "ui.background.separator" = "sky" diff --git a/runtime/themes/poimandres.toml b/runtime/themes/poimandres.toml index 5dbc799d58a2b..c62c2ad276653 100644 --- a/runtime/themes/poimandres.toml +++ b/runtime/themes/poimandres.toml @@ -76,6 +76,8 @@ string = { fg = "brightMint" } "diagnostic.info" = { underline = { color = "lightBlue", style = "curl" } } "diagnostic.warning" = { underline = { color = "brightYellow", style = "curl" } } "diagnostic.error" = { underline = { color = "hotRed", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } hint = "lowerMint" info = "lightBlue" diff --git a/runtime/themes/pop-dark.toml b/runtime/themes/pop-dark.toml index 54db3d1b10363..66436c1539792 100644 --- a/runtime/themes/pop-dark.toml +++ b/runtime/themes/pop-dark.toml @@ -12,6 +12,8 @@ error = { fg = 'redE', modifiers = ['bold'] } 'diagnostic.hint'.underline = { color = 'yellowH', style = 'curl' } 'diagnostic.warning'.underline = { color = 'orangeW', style = 'curl' } 'diagnostic.error'.underline = { color = 'redE', style = 'curl' } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } 'ui.background' = { bg = 'brownN' } 'ui.window' = { bg = 'brownH', fg = 'brownD' } 'ui.gutter' = { bg = 'brownU' } diff --git a/runtime/themes/rasmus.toml b/runtime/themes/rasmus.toml index a0b7e74d41187..a05ef633070ba 100644 --- a/runtime/themes/rasmus.toml +++ b/runtime/themes/rasmus.toml @@ -107,6 +107,8 @@ "diagnostic.error".underline = { color = "bright_red", style = "curl" } "diagnostic.info".underline = { color = "bright_blue", style = "curl" } "diagnostic.hint".underline = { color = "bright_cyan", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "bright_yellow" error = "bright_red" diff --git a/runtime/themes/rose_pine.toml b/runtime/themes/rose_pine.toml index 27b7a630e71e6..9a5ba450e92e1 100644 --- a/runtime/themes/rose_pine.toml +++ b/runtime/themes/rose_pine.toml @@ -64,6 +64,8 @@ "diagnostic.info" = { underline = { color = "foam", style = "curl" } } "diagnostic.warning" = { underline = { color = "gold", style = "curl" } } "diagnostic.error" = { underline = { color = "love", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "special" = "rose" "attribute" = "iris" diff --git a/runtime/themes/serika-dark.toml b/runtime/themes/serika-dark.toml index d184197987d27..eb8d6c8399b94 100644 --- a/runtime/themes/serika-dark.toml +++ b/runtime/themes/serika-dark.toml @@ -63,6 +63,8 @@ "diagnostic.info" = { underline = { style = "curl", color = "aqua" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "nasty-red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "diff.plus" = { fg = "green" } "diff.delta" = { fg = "orange" } diff --git a/runtime/themes/serika-light.toml b/runtime/themes/serika-light.toml index 1e3901ef24ed4..00fa84cbb5f7e 100644 --- a/runtime/themes/serika-light.toml +++ b/runtime/themes/serika-light.toml @@ -63,6 +63,8 @@ "diagnostic.info" = { underline = { style = "curl", color = "aqua" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "nasty-red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "diff.plus" = { fg = "bg_green" } "diff.delta" = { fg = "bg_blue" } diff --git a/runtime/themes/snazzy.toml b/runtime/themes/snazzy.toml index eb88c5eb86b3d..09d0cdd57b3d6 100644 --- a/runtime/themes/snazzy.toml +++ b/runtime/themes/snazzy.toml @@ -79,6 +79,9 @@ "error" = { fg = "red" } "warning" = { fg = "cyan" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + "markup.heading" = { fg = "purple", modifiers = ["bold"] } "markup.link.label" = { fg = "blue", modifiers = ["italic"] } "markup.list" = "cyan" diff --git a/runtime/themes/solarized_dark.toml b/runtime/themes/solarized_dark.toml index 74f017a31befb..9e23aff25c131 100644 --- a/runtime/themes/solarized_dark.toml +++ b/runtime/themes/solarized_dark.toml @@ -109,6 +109,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "red" } } "diagnostic.info" = { underline = { style = "curl", color = "blue" } } "diagnostic.hint" = { underline = { style = "curl", color = "base01" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] # 深色 越来越深 diff --git a/runtime/themes/solarized_light.toml b/runtime/themes/solarized_light.toml index 02ca7bdc6c686..60a2a0e210f78 100644 --- a/runtime/themes/solarized_light.toml +++ b/runtime/themes/solarized_light.toml @@ -126,6 +126,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "red" } } "diagnostic.info" = { underline = { style = "curl", color = "blue" } } "diagnostic.hint" = { underline = { style = "curl", color = "base01" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] diff --git a/runtime/themes/sonokai.toml b/runtime/themes/sonokai.toml index 4bbdb4dbedf1f..ebe1ae8d2eaa2 100644 --- a/runtime/themes/sonokai.toml +++ b/runtime/themes/sonokai.toml @@ -85,6 +85,8 @@ error = { fg = 'red', bg = 'bg2', modifiers = ['bold'] } "diagnostic.hint" = { underline = { style = "curl", color = "blue" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } diff --git a/runtime/themes/spacebones_light.toml b/runtime/themes/spacebones_light.toml index ad2a04d5ab267..7870f67ca111a 100644 --- a/runtime/themes/spacebones_light.toml +++ b/runtime/themes/spacebones_light.toml @@ -78,6 +78,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "#e0211d" } } "diagnostic.info" = { underline = { style = "curl", color = "theme_yellow" } } "diagnostic.hint" = { underline = { style = "curl", color = "bg2" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] base = "#655370" diff --git a/runtime/themes/starlight.toml b/runtime/themes/starlight.toml index 09db90fd6f576..335d1493aa9b9 100644 --- a/runtime/themes/starlight.toml +++ b/runtime/themes/starlight.toml @@ -85,6 +85,8 @@ "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = "blue" "hint" = "blue" diff --git a/runtime/themes/tokyonight.toml b/runtime/themes/tokyonight.toml index be7968575c833..38eb269dee5e6 100644 --- a/runtime/themes/tokyonight.toml +++ b/runtime/themes/tokyonight.toml @@ -65,6 +65,8 @@ hint = { fg = "hint" } "diagnostic.warning" = { underline = { style = "curl", color = "yellow"} } "diagnostic.info" = { underline = { style = "curl", color = "info"} } "diagnostic.hint" = { underline = { style = "curl", color = "hint" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.background" = { bg = "bg", fg = "fg" } "ui.cursor" = { modifiers = ["reversed"] } diff --git a/runtime/themes/ttox.toml b/runtime/themes/ttox.toml index 16909cc7013e4..0bc964b458473 100644 --- a/runtime/themes/ttox.toml +++ b/runtime/themes/ttox.toml @@ -29,3 +29,5 @@ "diagnostic.warning" = { fg = "black", bg = "light-yellow" } "diagnostic.error" = { fg = "black", bg = "light-red" } "diagnostic.hint" = { fg = "black", bg = "light-blue" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } diff --git a/runtime/themes/varua.toml b/runtime/themes/varua.toml index b07ab08dcd2dd..1c6b5e8632896 100644 --- a/runtime/themes/varua.toml +++ b/runtime/themes/varua.toml @@ -76,6 +76,8 @@ "diagnostic.info" = { underline = { style = "curl", color = "aqua" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] bg0 = "#282828" diff --git a/runtime/themes/vim_dark_high_contrast.toml b/runtime/themes/vim_dark_high_contrast.toml index ecd6942b572e7..4e2480dbad933 100644 --- a/runtime/themes/vim_dark_high_contrast.toml +++ b/runtime/themes/vim_dark_high_contrast.toml @@ -21,6 +21,8 @@ "diagnostic.warning" = { bg = "dark-yellow" } "diagnostic.hint" = { bg = "dark-cyan" } "diagnostic.info" = { bg = "dark-white" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "warning" = { fg = "yellow", bg = "dark-yellow" } "error" = { fg = "red", bg = "dark-red" } "info" = { fg = "default", bg = "dark-white" } diff --git a/runtime/themes/voxed.toml b/runtime/themes/voxed.toml index e55b46e5d3292..c2be9afefe5fe 100644 --- a/runtime/themes/voxed.toml +++ b/runtime/themes/voxed.toml @@ -75,6 +75,8 @@ label = "yellow" "diagnostic.info" = { underline = { color = "sglow", style = "curl" } } "diagnostic.warning" = { underline = { color = "redish", style = "curl" } } "diagnostic.error" = { underline = { color = "bpink", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "bpink" error = "bsienna" diff --git a/runtime/themes/yellowed.toml b/runtime/themes/yellowed.toml index 091b93eeb54fb..d94a75fcbe77c 100644 --- a/runtime/themes/yellowed.toml +++ b/runtime/themes/yellowed.toml @@ -111,6 +111,8 @@ "diagnostic.error" = { underline = { color = "error", style = "curl" } } "diagnostic.info" = { underline = { color = "info", style = "curl" } } "diagnostic.hint" = { underline = { color = "hint", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] # interface diff --git a/runtime/themes/zed_onedark.toml b/runtime/themes/zed_onedark.toml index 7ac1e73cc5861..3eeabab30ef62 100644 --- a/runtime/themes/zed_onedark.toml +++ b/runtime/themes/zed_onedark.toml @@ -42,6 +42,8 @@ "diagnostic.hint".underline = { color = "green", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } "warning" = { fg = "yellow", modifiers = ["bold"] } diff --git a/runtime/themes/zenburn.toml b/runtime/themes/zenburn.toml index 9a4a7abccf6ab..27f941220dd56 100644 --- a/runtime/themes/zenburn.toml +++ b/runtime/themes/zenburn.toml @@ -45,6 +45,8 @@ "diagnostic" = {bg = "statusbg"} "diagnostic.error" = { fg = "errorfg", bg = "errorbg"} +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.gutter" = { bg = "statusbg" } "hint" = {fg = "numeric", bg = "statusbg"} "warning" = "numeric"