Skip to content

Commit

Permalink
Add crossed out modifier for deprecated diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaju committed Feb 14, 2025
1 parent 0eab760 commit 09f58ea
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions helix.tera
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ whiskers:
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/default/catppuccin_frappe.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/default/catppuccin_latte.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/default/catppuccin_macchiato.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/default/catppuccin_mocha.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/no_italics/catppuccin_frappe.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/no_italics/catppuccin_latte.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/no_italics/catppuccin_macchiato.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down
1 change: 1 addition & 0 deletions themes/no_italics/catppuccin_mocha.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"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"
Expand Down

0 comments on commit 09f58ea

Please sign in to comment.