aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorEm Zhan2023-09-12 00:06:25 +0000
committerGitHub2023-09-12 00:06:25 +0000
commit7090555daba6bce37dc6cc900387015a10a1e791 (patch)
tree3b7a16a0621526ccddac5d0cdb39c64ae87c62d9 /book
parentef23847957463b95a68599efb12a32837d73727b (diff)
Add `insert-final-newline` config option (#8157)
Co-authored-by: Xalfer <64538944+Xalfer@users.noreply.github.com>
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 eb2cf473..3b78481e 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -64,6 +64,7 @@ Its settings will be merged with the configuration directory `config.toml` and t
| `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` |
+| `insert-final-newline` | Whether to automatically insert a trailing line-ending on write if missing | `true` |
### `[editor.statusline]` Section