aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorGokul Soumya2022-05-31 17:13:08 +0000
committerBlaž Hrastnik2022-06-21 16:43:25 +0000
commit8ad0b83e306ff6dfc1499d3e6d25b2fd36a096a4 (patch)
tree501b37975764e8d3e14a7a5140e8ec81e5a7bd53 /book/src
parent924b4ebb39df71d8499e7d38015c2423a89a3e49 (diff)
Make indent guides configurable
Diffstat (limited to 'book/src')
-rw-r--r--book/src/configuration.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 4d7e440a..3fa9b307 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -167,3 +167,20 @@ nbsp = "⍽"
tab = "→"
newline = "⏎"
```
+
+### `[editor.indent-guides]` Section
+
+Options for rendering vertical indent guides.
+
+| Key | Description | Default |
+| --- | --- | --- |
+| `render` | Whether to render indent guides. | `false` |
+| `character` | Literal character to use for rendering the indent guide | `│` |
+
+Example:
+
+```toml
+[editor.indent-guides]
+render = true
+character = "╎"
+```