aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorunrelentingtech2022-05-02 14:31:07 +0000
committerGitHub2022-05-02 14:31:07 +0000
commit20162a426b991f1a07f347f8180480871d15a27a (patch)
tree9ce6a587f2dc1eeb4662007864910acc1f30c574 /book/src
parentf9baced216df60122f2aae08d382931d77901ca9 (diff)
feat(commands): make it possible to disable format-on-save via the 'auto-format' option (#2321)
Diffstat (limited to 'book/src')
-rw-r--r--book/src/configuration.md1
1 files changed, 1 insertions, 0 deletions
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` |