From 3fb9fafb2a366d004a04aa3d45d52e3ecfb57241 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 16 Jun 2023 19:02:15 +0200 Subject: Add config for default line ending (#5621) --- book/src/configuration.md | 1 + 1 file changed, 1 insertion(+) (limited to 'book/src') 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 -- cgit v1.2.3-70-g09d2