summaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorLuca Saccarola2023-11-17 21:57:15 +0000
committerGitHub2023-11-17 21:57:15 +0000
commit5889b81fc7a7da25352f47240aa6d665ce6b8773 (patch)
tree0b3d1aaa888659db0af622ebccf32b42ffeb6aea /book
parent73ca2d5f84c5728712c00135ff82a42ae3487b8c (diff)
docs: add docs for soft-wrap in languages.toml (#8836)
Diffstat (limited to 'book')
-rw-r--r--book/src/languages.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/languages.md b/book/src/languages.md
index 778489f8..632a9146 100644
--- a/book/src/languages.md
+++ b/book/src/languages.md
@@ -66,6 +66,7 @@ These configuration keys are available:
| `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) |
| `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 |
+| `soft-wrap` | [editor.softwrap](./configuration.md#editorsoft-wrap-section)
| `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. |