You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/configuration.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Its settings will be merged with the configuration directory `config.toml` and t
60
60
|`undercurl`| Set to `true` to override automatic detection of terminal undercurl support in the event of a false negative |`false`|
61
61
|`rulers`| List of column positions at which to display the rulers. Can be overridden by language specific `rulers` in `languages.toml` file |`[]`|
62
62
|`bufferline`| Renders a line at the top of the editor displaying open buffers. Can be `always`, `never` or `multiple` (only shown if more than one buffer is in use) |`never`|
63
-
|`color-modes`| Whether to color the mode indicator with different colors depending on the mode itself |`false`|
63
+
|`color-modes`| Whether to color the mode indicator with different colors depending on the mode itself |`true`|
64
64
|`text-width`| Maximum line length. Used for the `:reflow` command and soft-wrapping if `soft-wrap.wrap-at-text-width` is set |`80`|
65
65
|`workspace-lsp-roots`| Directories relative to the workspace root that are treated as LSP roots. Should only be set in `.helix/config.toml`|`[]`|
66
66
|`default-line-ending`| The line ending to use for new documents. Can be `native`, `lf`, `crlf`, `ff`, `cr` or `nel`. `native` uses the platform's native line ending (`crlf` on Windows, otherwise `lf`). |`native`|
@@ -90,13 +90,13 @@ The `[editor.statusline]` key takes the following sub-keys:
90
90
91
91
| Key | Description | Default |
92
92
| --- | --- | --- |
93
-
|`left`| A list of elements aligned to the left of the statusline |`["spacer", "mode", "spinner", "file-name", "read-only-indicator", "file-modification-indicator"]`|
93
+
|`left`| A list of elements aligned to the left of the statusline |`["mode", "spinner", "file-name", "read-only-indicator", "file-modification-indicator"]`|
94
94
|`center`| A list of elements aligned to the middle of the statusline |`[]`|
95
95
|`right`| A list of elements aligned to the right of the statusline |`["diagnostics", "selections", "register", "position", "file-encoding", "spacer"]`|
96
96
|`separator`| The character used to separate elements in the statusline |`"│"`|
97
-
|`mode.normal`| The text shown in the `mode` element for normal mode |`"NOR"`|
98
-
|`mode.insert`| The text shown in the `mode` element for insert mode |`"INS"`|
99
-
|`mode.select`| The text shown in the `mode` element for select mode |`"SEL"`|
97
+
|`mode.normal`| The text shown in the `mode` element for normal mode |`"NOR"`|
98
+
|`mode.insert`| The text shown in the `mode` element for insert mode |`"INS"`|
99
+
|`mode.select`| The text shown in the `mode` element for select mode |`"SEL"`|
100
100
101
101
The following statusline elements can be configured:
0 commit comments