aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorsigmaSd2023-07-24 13:51:35 +0000
committerGitHub2023-07-24 13:51:35 +0000
commit5ec126d3e27dcfe2544396b664cbad04611ad7eb (patch)
treede588d557bc8461b9cf7eedabc94da1ad54c6472 /book
parent48d57dad471a0cb8b26aa93edc379f38b813ad72 (diff)
Fix docs for default statusline config (#7720)
Diffstat (limited to 'book')
-rw-r--r--book/src/configuration.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 1b94ae85..da1d1bf6 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -89,9 +89,9 @@ The `[editor.statusline]` key takes the following sub-keys:
| Key | Description | Default |
| --- | --- | --- |
-| `left` | A list of elements aligned to the left of the statusline | `["mode", "spinner", "file-name"]` |
+| `left` | A list of elements aligned to the left of the statusline | `["mode", "spinner", "file-name", "file-modification-indicator"]` |
| `center` | A list of elements aligned to the middle of the statusline | `[]` |
-| `right` | A list of elements aligned to the right of the statusline | `["diagnostics", "selections", "position", "file-encoding"]` |
+| `right` | A list of elements aligned to the right of the statusline | `["diagnostics", "selections", "register", "position", "file-encoding"]` |
| `separator` | The character used to separate elements in the statusline | `"│"` |
| `mode.normal` | The text shown in the `mode` element for normal mode | `"NOR"` |
| `mode.insert` | The text shown in the `mode` element for insert mode | `"INS"` |