chore: updated themes using 'comment.block.documentation' to also use 'comment.line.documentation'

diagnostic-severity-glyphs
Caleb Larsen 2025-06-06 11:57:46 -05:00 committed by Michael Davis
parent ae3eac8aeb
commit 091f19f67c
23 changed files with 27 additions and 4 deletions

View File

@ -171,8 +171,9 @@ We use a similar set of scopes as
- `comment` - Code comments
- `line` - Single line comments (`//`)
- `documentation` - Line documentation comments (e.g. `///` in Rust)
- `block` - Block comments (e.g. (`/* */`)
- `documentation` - Documentation comments (e.g. `///` in Rust)
- `documentation` - Block documentation comments (e.g. `/** */` in Rust)
- `variable` - Variables
- `builtin` - Reserved language variables (`self`, `this`, `super`, etc.)

View File

@ -35,6 +35,7 @@
"comment" = { fg = "g_6", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "g_5", modifiers = ["italic"] }
"comment.line.documentation" = { fg = "g_5", modifiers = ["italic"] }
"variable" = "g_3"
"variable.parameter" = { fg = "g_2", modifiers = ["italic"] }

View File

@ -56,6 +56,7 @@ diagnostic = "cool-sky"
"comment" = "purple-gray"
"comment.line" = "purple-gray"
"comment.line.documentation" = "purple-gray"
"comment.block" = "dead-green"
"comment.block.documentation" = "dead-green"

View File

@ -22,6 +22,7 @@
"comment" = { fg = "gray40", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "gray40", modifiers = ["italic"] }
"comment.line.documentation" = { fg = "gray40", modifiers = ["italic"] }
"variable" = "gray70"
"variable.builtin" = { fg = "cyan30", modifiers = ["bold"] }

View File

@ -9,6 +9,7 @@
'comment' = { fg = 'gray', modifiers = ['italic'] }
'comment.block' = { fg = 'green', modifiers = ['italic'] }
'comment.block.documentation' = { fg = 'green', modifiers = ['italic'] }
'comment.line.documentation' = { fg = 'green', modifiers = ['italic'] }
'constant' = { fg = 'magenta' }
'constant.numeric' = { fg = 'orange' }
'constructor' = { fg = 'red' }

View File

@ -9,6 +9,7 @@
"comment.block" = { fg = "comment" }
"comment.block.documentation" = { fg = "comment" }
"comment.line" = { fg = "comment" }
"comment.line.documentation" = { fg = "comment" }
"constant" = { fg = "purple" }
"constant.builtin" = { fg = "purple" }

View File

@ -6,6 +6,7 @@
"comment.block" = "comments"
"comment.block.documentation" = "comments"
"comment.line" = "comments"
"comment.line.documentation" = "comments"
#"constant" = ""
"constant.builtin" = { fg = "builtins", modifiers = ["italic"] }
"constant.character" = "strings"

View File

@ -4,6 +4,7 @@
"attribute" = { fg = "blue_text", bg = "blue_bg" }
"comment" = { fg = "base3", modifiers = ["italic"] }
"comment.line" = {}
"comment.line.documentation" = { fg = "base2" }
"comment.block" = {}
"comment.block.documentation" = { fg = "base2" }
"constant" = { fg = "blue_text", bg = "blue_bg" }

View File

@ -2,6 +2,7 @@
"comment" = { fg = "comment" }
"comment.block.documentation" = { bg = "comment_doc", modifiers = ["italic"] }
"comment.line.documentation" = { bg = "comment_doc", modifiers = ["italic"] }
"constant" = { fg = "t11" }
"function" = { fg = "t10" }

View File

@ -5,6 +5,7 @@
string = "green171"
comment = "blue133"
"comment.block.documentation" = "green130"
"comment.line.documentation" = "green130"
"variable.builtin" = "red207"
"variable.other.member" = "red199"
label = "red199"

View File

@ -4,6 +4,7 @@ inherits = "monokai"
"comment" = "comment"
"comment.block.documentation" = { fg = "comment", modifiers = ["bold"] }
"comment.line.documentation" = { fg = "comment", modifiers = ["bold"] }
"constant.character.escape" = { fg = "light-blue", modifiers = ["italic"] }
"function.macro" = { fg = "#c4be89", modifiers = ["italic"] }
"keyword" = { fg = "keyword", modifiers = ["bold"] }

View File

@ -51,6 +51,7 @@
'string.special.url' = { fg = 'gold', modifiers = ['underlined'] }
'comment' = { fg = 'slate', modifiers = ['italic'] }
'comment.block.documentation' = { fg = 'slate' }
'comment.line.documentation' = { fg = 'slate' }
'variable' = { fg = 'green' }
'variable.builtin' = { fg = 'green', modifiers = ['italic'] }
'label' = { fg = 'foreground' }

View File

@ -106,7 +106,8 @@
"string.special.url" = { fg = "cyan", modifiers = ["bold"] } # String containing a web URL.
"comment" = { fg = "comment" } # This is a comment.
"comment.block.documentation" = { fg = "comment", modifiers = ["bold"] } # Doc comments, e.g '///' in rust.
"comment.block.documentation" = { fg = "comment", modifiers = ["bold"] } # Block doc comments, e.g '/** */' in rust.
"comment.line.documentation" = { fg = "comment", modifiers = ["bold"] } # Line doc comments, e.g '///' in rust.
"variable" = { fg = "white" } # Variable names.
"variable.builtin" = { fg = "red" } # Language reserved variables: `this`, `self`, `super`, etc.

View File

@ -100,8 +100,9 @@
'comment' = { fg = "gray", modifiers = ["italic"] } # This is a comment.
'comment.line' = { } # Line comments, like this.
'comment.line.documentation' = { } # Doc comments, e.g '///' in rust.
'comment.block' = { } # Block comments, like /* this */ in some languages.
'comment.block.documentation' = { } # Doc comments, e.g '///' in rust.
'comment.block.documentation' = { } # Doc comments, e.g '/** */' in rust.
'variable' = { fg = "light-orange" } # Variable names.
# 'variable.builtin' = { } # Language reserved variables: `this`, `self`, `super`, etc.

View File

@ -2,6 +2,7 @@
"attribute" = { fg = "#7060eb", modifiers = ["bold"] }
"comment" = { fg = "base03", modifiers = ["italic"] }
"comment.line.documentation" = { fg = "base06", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "base06", modifiers = ["italic"] }
"constant" = "base09"
"constant.character.escape" = "base0C"

View File

@ -33,6 +33,7 @@
"comment" = { fg = "grey", modifiers = ["italic"] }
"comment.line" = { fg = "grey", modifiers = ["italic"] }
"comment.line.documentation" = { fg = "grey", modifiers = ["italic"] }
"comment.block" = { fg = "grey", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "grey", modifiers = ["italic"] }

View File

@ -76,6 +76,7 @@
"comment" = { fg = "regular5", modifiers = ["italic"] }
"comment.line" = { fg = "regular5", modifiers = ["italic"] }
"comment.line.documentation" = { fg = "regular5", modifiers = ["bold"] }
"comment.block" = { fg = "regular5", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "regular5", modifiers = ["bold"] }

View File

@ -11,6 +11,7 @@
"ui.text.focus" = { fg = "black", bg = "white" }
"comment" = "light-green"
"comment.line" = "light-green"
"comment.line.documentation" = "light-green"
"comment.block" = "red"
"comment.block.documentation" = "red"
"ui.statusline" = { fg = "black", bg = "light-cyan" }

View File

@ -71,6 +71,7 @@ namespace = { fg = 'orangeL' }
'string.special.symbol' = { fg = 'orangeW' }
'comment' = { fg = 'greyC', modifiers = ['italic'] }
'comment.line' = { fg = 'greyC', modifiers = ['italic'] }
'comment.line.documentation' = { fg = 'greyC', modifiers = ['italic'] }
'comment.block' = { fg = 'greyC', modifiers = ['italic'] }
'comment.block.documentation' = { fg = 'greyC', modifiers = ['italic'] }
'variable' = { fg = 'greyT' }

View File

@ -94,6 +94,7 @@
"comment" = { fg = "muted", modifiers = ["italic"] }
# "comment.line" = ""
# "comment.line.documentation" = ""
# "comment.block" = ""
# "comment.block.documentation" = ""

View File

@ -23,6 +23,7 @@ string = "grass"
comment = { fg = "cmnt", modifiers = ["italic"] }
"comment.block.documentation" = "grass"
"comment.line.documentation" = "grass"
variable = "text"
"variable.builtin" = { fg = "sky", modifiers = ["italic"] }

View File

@ -3,6 +3,7 @@
attribute = { fg = "cyan" }
comment = { fg = "comment", modifiers = ["italic"] }
"comment.block.documentation" = { fg = "yellow" }
"comment.line.documentation" = { fg = "yellow" }
constant = { fg = "orange" }
"constant.builtin" = { fg = "aqua" }
"constant.character" = { fg = "light-green" }

View File

@ -11,6 +11,7 @@
"comment" = { fg = "comment" }
"ui.virtual.inlay-hint" = { fg = "#9f9f9f" }
"comment.block.documentation" = { fg = "black", modifiers = ["bold"] }
"comment.line.documentation" = { fg = "black", modifiers = ["bold"] }
"ui.statusline" = { bg = "statusbg", fg = "#ccdc90" }
"ui.statusline.inactive" = { fg = '#2e3330', bg = '#88b090' }
"ui.cursor" = { fg = "#000d18", bg = "#8faf9f", modifiers = ["bold"] }
@ -62,4 +63,4 @@ todo = "#dfdfdf"
errorfg = "#e37170"
errorbg = "#3d3535"
statusbg = "#313633"
numeric = "#8cd0d3"
numeric = "#8cd0d3"