aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorIvan Tham2022-07-26 01:08:09 +0000
committerGitHub2022-07-26 01:08:09 +0000
commit2f980471f816e841628cf2b75d8d8e689b3fe9d5 (patch)
tree1ad4c08e3c8fd57003513eba062507b570d111a1 /book
parentbfdcfec8c954225f79b49ce3e4db4bb76715ae69 (diff)
Make gutters padding automatic (#3163)
Remove padding gutter type, and automatically add 1 padding if gutters is non-empty.
Diffstat (limited to 'book')
-rw-r--r--book/src/configuration.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index c9f435bf..1b3d3aee 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -38,7 +38,7 @@ hidden = false
| `shell` | Shell to use when running external commands. | Unix: `["sh", "-c"]`<br/>Windows: `["cmd", "/C"]` |
| `line-number` | Line number display: `absolute` simply shows each line's number, while `relative` shows the distance from the current line. When unfocused or in insert mode, `relative` will still show absolute line numbers. | `absolute` |
| `cursorline` | Highlight all lines with a cursor. | `false` |
-| `gutters` | Gutters to display: Available are `diagnostics` and `line-numbers` and `padding`, note that `diagnostics` also includes other features like breakpoints | `["diagnostics", "line-numbers", "padding"]` |
+| `gutters` | Gutters to display: Available are `diagnostics` and `line-numbers` and `padding`, note that `diagnostics` also includes other features like breakpoints, 1-width padding will be inserted if gutters is non-empty | `["diagnostics", "line-numbers", "padding"]` |
| `auto-completion` | Enable automatic pop up of auto-completion. | `true` |
| `auto-format` | Enable automatic formatting on save. | `true` |
| `idle-timeout` | Time in milliseconds since last keypress before idle timers trigger. Used for autocompletion, set to 0 for instant. | `400` |