From 7bb1db3ab5565f1c778df87d6dfd004293d7c9c9 Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Tue, 1 Mar 2022 02:06:14 +0100 Subject: Bring configuration documentation up to date (missing editor.search section) (#1719) --- book/src/configuration.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'book') diff --git a/book/src/configuration.md b/book/src/configuration.md index 8f6e8bbb..023f7dc1 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -35,7 +35,6 @@ hidden = false | `scroll-lines` | Number of lines to scroll per scroll wheel step. | `3` | | `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` | -| `smart-case` | Enable smart case regex searching (case insensitive unless pattern contains upper case characters) | `true` | | `auto-completion` | Enable automatic pop up of auto-completion. | `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` | @@ -117,6 +116,15 @@ name = "rust" '<' = '>' ``` +### `[editor.search]` Section + +Search specific options. + +| Key | Description | Default | +|--|--|---------| +| `smart-case` | Enable smart case regex searching (case insensitive unless pattern contains upper case characters) | `true` | +| `wrap-around`| Whether the search should wrap after depleting the matches | `true` | + ## LSP -- cgit v1.2.3-70-g09d2