aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorJJ2023-11-01 01:14:55 +0000
committerJJ2023-11-01 04:08:40 +0000
commit368995b51f2b0b8574a87ebe04749cb556b4c538 (patch)
treeeadf3985f5d1f703542a1df7759b0d84b79e6a46 /book/src
parenteaf8d6d30da5014a3c475c4187b9dccfe621afd5 (diff)
Add rainbow indentation guides
ref: https://github.com/helix-editor/helix/issues/4010 ref: https://github.com/helix-editor/helix/pull/4493 Co-authored-by: SoraTenshi <dream@neoncity.dev>
Diffstat (limited to 'book/src')
-rw-r--r--book/src/configuration.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 9b0ff36a..b62aab16 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -267,6 +267,7 @@ Options for rendering vertical indent guides.
| `render` | Whether to render indent guides | `false` |
| `character` | Literal character to use for rendering the indent guide | `│` |
| `skip-levels` | Number of indent levels to skip | `0` |
+| `rainbow-option` | Enum to set rainbow indentations. Options: `normal`, `dim` and `none`. | `none` |
Example:
@@ -275,6 +276,7 @@ Example:
render = true
character = "╎" # Some characters that work well: "▏", "┆", "┊", "⸽"
skip-levels = 1
+rainbow-option = "normal"
```
### `[editor.gutters]` Section