From 2f980471f816e841628cf2b75d8d8e689b3fe9d5 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Tue, 26 Jul 2022 09:08:09 +0800 Subject: Make gutters padding automatic (#3163) Remove padding gutter type, and automatically add 1 padding if gutters is non-empty.--- book/src/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'book') 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"]`
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` | -- cgit v1.2.3-70-g09d2