From 9a3f23b0661f7a37a0dab885fe5eb844b615a22b Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 1 May 2024 15:52:02 -0700 Subject: Add rainbow tree-sitter highlights ref: https://github.com/helix-editor/helix/issues/695 ref: https://github.com/helix-editor/helix/pull/2857 --- book/src/themes.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'book/src/themes.md') 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: -- cgit v1.2.3-70-g09d2