summaryrefslogtreecommitdiff
path: root/book/src/configuration.md
diff options
context:
space:
mode:
authorSeth Bromberger2022-07-26 23:47:22 +0000
committerGitHub2022-07-26 23:47:22 +0000
commit846a6b65c3d13f49b571beee2189d17b71c92e3f (patch)
treee338696d783cfcde5eea4ca458fa938730ef136d /book/src/configuration.md
parent61856f1d64557a053f9160698ab8751bf01d76ab (diff)
add configurable / theme-able statusline separator string (#3175)
* add configurable separator element to statusline * themable separator * clippy fixes * changed default separator to │ * doc updates
Diffstat (limited to 'book/src/configuration.md')
-rw-r--r--book/src/configuration.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 5372b9f0..5eb94c4e 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -63,6 +63,7 @@ Statusline elements can be defined as follows:
left = ["mode", "spinner"]
center = ["file-name"]
right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
+separator = "│"
```
The following elements can be configured:
@@ -79,6 +80,7 @@ The following elements can be configured:
| `selections` | The number of active selections |
| `position` | The cursor position |
| `position-percentage` | The cursor position as a percentage of the total number of lines |
+| `separator` | The string defined in `editor.statusline.separator` (defaults to `"│"`) |
| `spacer` | Inserts a space between elements (multiple/contiguous spacers may be specified) |
### `[editor.lsp]` Section