aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorAlex2023-06-16 17:02:15 +0000
committerGitHub2023-06-16 17:02:15 +0000
commit3fb9fafb2a366d004a04aa3d45d52e3ecfb57241 (patch)
tree170c649b6ef245fae3e530188014b26ab65d7ac4 /book
parentdf094909d17469ded9782bd3fa714a7c34f20cd6 (diff)
Add config for default line ending (#5621)
Diffstat (limited to 'book')
-rw-r--r--book/src/configuration.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 723e9601..1b94ae85 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -63,6 +63,7 @@ Its settings will be merged with the configuration directory `config.toml` and t
| `color-modes` | Whether to color the mode indicator with different colors depending on the mode itself | `false` |
| `text-width` | Maximum line length. Used for the `:reflow` command and soft-wrapping if `soft-wrap.wrap-at-text-width` is set | `80` |
| `workspace-lsp-roots` | Directories relative to the workspace root that are treated as LSP roots. Should only be set in `.helix/config.toml` | `[]` |
+| `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` |
### `[editor.statusline]` Section