on master help sign in
docs: add docs for soft-wrap in languages.toml (#8836)
commit5889b81fc7a7da25352f47240aa6d665ce6b8773 authorLuca Saccarola <96259932+saccarosium@users.noreply.github.com> dateFri 17 Nov 2023, 22:57 (3 years ago) parent73ca2d5
1 file changed+1
book/src/languages.md+1
book/src/languages.md+1
@@ -66,6 +66,7 @@ These configuration keys are available:
6666| `language-servers` | The Language Servers used for this language. See below for more information in the section [Configuring Language Servers for a language](#configuring-language-servers-for-a-language) |
6767| `grammar` | The tree-sitter grammar to use (defaults to the value of `name`) |
6868| `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 |
69+| `soft-wrap` | [editor.softwrap](./configuration.md#editorsoft-wrap-section)
6970| `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` |
7071| `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. |
7172