diff options
author | Michael T. Mordowanec | 2023-04-21 21:45:50 +0000 |
---|---|---|
committer | GitHub | 2023-04-21 21:45:50 +0000 |
commit | a1044a6c68bc822021da204f81e1d7c0ba13df31 (patch) | |
tree | 6a7832bca70de10267f4461a89fe0cbf03ba55c3 /book | |
parent | ee7413a3fd723015843e569924abbfbf32b56182 (diff) |
Change soft-wrap.wrap_at_text_width to kebab case in documentation (#6842)
Solves #6803.
Diffstat (limited to 'book')
-rw-r--r-- | book/src/configuration.md | 2 | ||||
-rw-r--r-- | book/src/languages.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md index 38f9f9eb..1fdbf005 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -60,7 +60,7 @@ Its settings will be merged with the configuration directory `config.toml` and t | `rulers` | List of column positions at which to display the rulers. Can be overridden by language specific `rulers` in `languages.toml` file | `[]` | | `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` | | `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` | +| `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` | `[]` | ### `[editor.statusline]` Section diff --git a/book/src/languages.md b/book/src/languages.md index f44509fc..fe4db141 100644 --- a/book/src/languages.md +++ b/book/src/languages.md @@ -63,7 +63,7 @@ These configuration keys are available: | `config` | Language Server configuration | | `grammar` | The tree-sitter grammar to use (defaults to the value of `name`) | | `formatter` | The formatter for the language, it will take precedence over the lsp when defined. The formatter must be able to take the original file as input from stdin and write the formatted file to stdout | -| `text-width` | Maximum line length. Used for the `:reflow` command and soft-wrapping if `soft-wrap.wrap_at_text_width` is set, defaults to `editor.text-width` | +| `text-width` | Maximum line length. Used for the `:reflow` command and soft-wrapping if `soft-wrap.wrap-at-text-width` is set, defaults to `editor.text-width` | | `workspace-lsp-roots` | Directories relative to the workspace root that are treated as LSP roots. Should only be set in `.helix/config.toml`. Overwrites the setting of the same name in `config.toml` if set. | ### File-type detection and the `file-types` key |