summaryrefslogtreecommitdiff
path: root/book/src/configuration.md
diff options
context:
space:
mode:
authorRobin2022-10-03 15:07:04 +0000
committerGitHub2022-10-03 15:07:04 +0000
commit6764744ce9912a1f48502bf5ee025283e12fded5 (patch)
tree50734dcc05722d3170caa51444459ad9b3702d71 /book/src/configuration.md
parentdbec057363201d6c4aa2e7258cac928e5ebb6a28 (diff)
Add option to skip the first indent guide (#3819)
* Add option to skip the first indent guide * reorder skip_first option * change indent-guides.skip_first to a number * rename skip -> skip_levels * add skip_levels to the book * Update book/src/configuration.md Co-authored-by: A-Walrus <58790821+A-Walrus@users.noreply.github.com> * Update helix-term/src/ui/editor.rs Co-authored-by: Michael Davis <mcarsondavis@gmail.com> Co-authored-by: Robin <robinvandijk@klippa.com> Co-authored-by: A-Walrus <58790821+A-Walrus@users.noreply.github.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'book/src/configuration.md')
-rw-r--r--book/src/configuration.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 039d181c..276bd7d4 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -233,10 +233,11 @@ tabpad = "·" # Tabs will look like "→···" (depending on tab width)
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 | `│` |
+| Key | Description | Default |
+| --- | --- | --- |
+| `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` |
Example:
@@ -244,4 +245,5 @@ Example:
[editor.indent-guides]
render = true
character = "╎"
+skip-levels = 1
```