From 20162a426b991f1a07f347f8180480871d15a27a Mon Sep 17 00:00:00 2001 From: unrelentingtech Date: Mon, 2 May 2022 17:31:07 +0300 Subject: feat(commands): make it possible to disable format-on-save via the 'auto-format' option (#2321) --- book/src/configuration.md | 1 + 1 file changed, 1 insertion(+) (limited to 'book/src') diff --git a/book/src/configuration.md b/book/src/configuration.md index 913897d6..94134ed4 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -39,6 +39,7 @@ hidden = false | `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` | | `gutters` | Gutters to display: Available are `diagnostics` and `line-numbers`, note that `diagnostics` also includes other features like breakpoints | `["diagnostics", "line-numbers"]` | | `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` | | `completion-trigger-len` | The min-length of word under cursor to trigger autocompletion | `2` | | `auto-info` | Whether to display infoboxes | `true` | -- cgit v1.2.3-70-g09d2