aboutsummaryrefslogtreecommitdiff
path: root/book/src/themes.md
diff options
context:
space:
mode:
authorMichael Davis2024-05-01 22:52:02 +0000
committerJJ2024-05-01 23:54:41 +0000
commit9a3f23b0661f7a37a0dab885fe5eb844b615a22b (patch)
tree48a816a487a38bf3145263a61d96c4a06d28765f /book/src/themes.md
parent214f7ba218223cd292fb1788ad203e5168657975 (diff)
Add rainbow tree-sitter highlights
ref: https://github.com/helix-editor/helix/issues/695 ref: https://github.com/helix-editor/helix/pull/2857
Diffstat (limited to 'book/src/themes.md')
-rw-r--r--book/src/themes.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index 29a8c4ba..4a0f6f10 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -137,6 +137,17 @@ inherits = "boo_berry"
berry = "#2A2A4D"
```
+### Rainbow
+
+The `rainbow` key is used for rainbow highlight for matching brackets.
+The key is a list of styles.
+
+```toml
+rainbow = ["#ff0000", "#ffa500", "#fff000", { fg = "#00ff00", modifiers = ["bold"] }]
+```
+
+Colors from the palette and modifiers may be used.
+
### Scopes
The following is a list of scopes available to use for styling: