Unnamed repository; edit this file 'description' to name the repository.
chore: updated themes using 'comment.block.documentation' to also use 'comment.line.documentation'
Caleb Larsen 9 months ago
parent ae3eac8 · commit 091f19f
-rw-r--r--book/src/themes.md3
-rw-r--r--runtime/themes/ashen.toml1
-rw-r--r--runtime/themes/ataraxia.toml1
-rw-r--r--runtime/themes/carbon.toml1
-rw-r--r--runtime/themes/doom_acario_dark.toml1
-rw-r--r--runtime/themes/dracula.toml1
-rw-r--r--runtime/themes/eiffel.toml1
-rw-r--r--runtime/themes/flatwhite.toml1
-rw-r--r--runtime/themes/hex_steel.toml1
-rw-r--r--runtime/themes/jetbrains_dark.toml1
-rw-r--r--runtime/themes/molokai.toml1
-rw-r--r--runtime/themes/night_owl.toml1
-rw-r--r--runtime/themes/nightfox.toml3
-rw-r--r--runtime/themes/noctis.toml3
-rw-r--r--runtime/themes/noctis_bordo.toml1
-rw-r--r--runtime/themes/onelight.toml1
-rw-r--r--runtime/themes/papercolor-light.toml1
-rw-r--r--runtime/themes/peachpuff.toml1
-rw-r--r--runtime/themes/pop-dark.toml1
-rw-r--r--runtime/themes/rose_pine.toml1
-rw-r--r--runtime/themes/sunset.toml1
-rw-r--r--runtime/themes/tokyonight.toml1
-rw-r--r--runtime/themes/zenburn.toml3
23 files changed, 27 insertions, 4 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index dc377db1..46d0a2d3 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -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.)
diff --git a/runtime/themes/ashen.toml b/runtime/themes/ashen.toml
index d31e6974..2078c39b 100644
--- a/runtime/themes/ashen.toml
+++ b/runtime/themes/ashen.toml
@@ -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"] }
diff --git a/runtime/themes/ataraxia.toml b/runtime/themes/ataraxia.toml
index 6aad8f3f..2b0e5870 100644
--- a/runtime/themes/ataraxia.toml
+++ b/runtime/themes/ataraxia.toml
@@ -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"
diff --git a/runtime/themes/carbon.toml b/runtime/themes/carbon.toml
index af06aa64..1105a1a5 100644
--- a/runtime/themes/carbon.toml
+++ b/runtime/themes/carbon.toml
@@ -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"] }
diff --git a/runtime/themes/doom_acario_dark.toml b/runtime/themes/doom_acario_dark.toml
index 5c4bd0dd..98265bb7 100644
--- a/runtime/themes/doom_acario_dark.toml
+++ b/runtime/themes/doom_acario_dark.toml
@@ -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' }
diff --git a/runtime/themes/dracula.toml b/runtime/themes/dracula.toml
index bb4a38d5..8b4abe16 100644
--- a/runtime/themes/dracula.toml
+++ b/runtime/themes/dracula.toml
@@ -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" }
diff --git a/runtime/themes/eiffel.toml b/runtime/themes/eiffel.toml
index ba0f5c60..846b0b07 100644
--- a/runtime/themes/eiffel.toml
+++ b/runtime/themes/eiffel.toml
@@ -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"
diff --git a/runtime/themes/flatwhite.toml b/runtime/themes/flatwhite.toml
index 1da20350..6864fb10 100644
--- a/runtime/themes/flatwhite.toml
+++ b/runtime/themes/flatwhite.toml
@@ -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" }
diff --git a/runtime/themes/hex_steel.toml b/runtime/themes/hex_steel.toml
index d133cf7f..4270d24a 100644
--- a/runtime/themes/hex_steel.toml
+++ b/runtime/themes/hex_steel.toml
@@ -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" }
diff --git a/runtime/themes/jetbrains_dark.toml b/runtime/themes/jetbrains_dark.toml
index c73fe93a..a9da0de0 100644
--- a/runtime/themes/jetbrains_dark.toml
+++ b/runtime/themes/jetbrains_dark.toml
@@ -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"
diff --git a/runtime/themes/molokai.toml b/runtime/themes/molokai.toml
index 2d5c9455..bfca3677 100644
--- a/runtime/themes/molokai.toml
+++ b/runtime/themes/molokai.toml
@@ -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"] }
diff --git a/runtime/themes/night_owl.toml b/runtime/themes/night_owl.toml
index ed3c0289..ac90653b 100644
--- a/runtime/themes/night_owl.toml
+++ b/runtime/themes/night_owl.toml
@@ -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' }
diff --git a/runtime/themes/nightfox.toml b/runtime/themes/nightfox.toml
index 7d05a9b2..b10f88bb 100644
--- a/runtime/themes/nightfox.toml
+++ b/runtime/themes/nightfox.toml
@@ -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.
diff --git a/runtime/themes/noctis.toml b/runtime/themes/noctis.toml
index 678658aa..67fc6e8b 100644
--- a/runtime/themes/noctis.toml
+++ b/runtime/themes/noctis.toml
@@ -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.
diff --git a/runtime/themes/noctis_bordo.toml b/runtime/themes/noctis_bordo.toml
index c5e04f2a..fc8e1560 100644
--- a/runtime/themes/noctis_bordo.toml
+++ b/runtime/themes/noctis_bordo.toml
@@ -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"
diff --git a/runtime/themes/onelight.toml b/runtime/themes/onelight.toml
index 0f6961b3..9fc8ef65 100644
--- a/runtime/themes/onelight.toml
+++ b/runtime/themes/onelight.toml
@@ -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"] }
diff --git a/runtime/themes/papercolor-light.toml b/runtime/themes/papercolor-light.toml
index 4f53c9e0..cee8b159 100644
--- a/runtime/themes/papercolor-light.toml
+++ b/runtime/themes/papercolor-light.toml
@@ -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"] }
diff --git a/runtime/themes/peachpuff.toml b/runtime/themes/peachpuff.toml
index c38aee18..06f62da8 100644
--- a/runtime/themes/peachpuff.toml
+++ b/runtime/themes/peachpuff.toml
@@ -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" }
diff --git a/runtime/themes/pop-dark.toml b/runtime/themes/pop-dark.toml
index 66436c15..2704afd0 100644
--- a/runtime/themes/pop-dark.toml
+++ b/runtime/themes/pop-dark.toml
@@ -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' }
diff --git a/runtime/themes/rose_pine.toml b/runtime/themes/rose_pine.toml
index ae88bdc5..49296705 100644
--- a/runtime/themes/rose_pine.toml
+++ b/runtime/themes/rose_pine.toml
@@ -94,6 +94,7 @@
"comment" = { fg = "muted", modifiers = ["italic"] }
# "comment.line" = ""
+# "comment.line.documentation" = ""
# "comment.block" = ""
# "comment.block.documentation" = ""
diff --git a/runtime/themes/sunset.toml b/runtime/themes/sunset.toml
index d417bb40..0fe04597 100644
--- a/runtime/themes/sunset.toml
+++ b/runtime/themes/sunset.toml
@@ -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"] }
diff --git a/runtime/themes/tokyonight.toml b/runtime/themes/tokyonight.toml
index e95b1178..2d41764c 100644
--- a/runtime/themes/tokyonight.toml
+++ b/runtime/themes/tokyonight.toml
@@ -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" }
diff --git a/runtime/themes/zenburn.toml b/runtime/themes/zenburn.toml
index 27f94122..74ef78ed 100644
--- a/runtime/themes/zenburn.toml
+++ b/runtime/themes/zenburn.toml
@@ -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" \ No newline at end of file
+numeric = "#8cd0d3"