summaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorPhilipp Mildenberger2022-03-01 01:06:14 +0000
committerGitHub2022-03-01 01:06:14 +0000
commit7bb1db3ab5565f1c778df87d6dfd004293d7c9c9 (patch)
tree6cbd7744a1caf093707a84e8fc588a353d48c43d /book
parent084682237167075dd77ec1bbbe827d3b6912c6a4 (diff)
Bring configuration documentation up to date (missing editor.search section) (#1719)
Diffstat (limited to 'book')
-rw-r--r--book/src/configuration.md10
1 files changed, 9 insertions, 1 deletions
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"]`<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` |
-| `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