aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorcinerea02023-03-06 09:20:24 +0000
committerGitHub2023-03-06 09:20:24 +0000
commit5ebe1014ac1dffaab19f8f9f0ebe55df3202fbf9 (patch)
treea0c46cfcae5efa9f99635469dfa2ec240213e3be /book/src
parent376c19e06bedf54c8a897068f25ff7b9a8e75198 (diff)
docs: describe tab-width and unit subkeys (#5862)
Diffstat (limited to 'book/src')
-rw-r--r--book/src/languages.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/languages.md b/book/src/languages.md
index 0646b9af..74d090eb 100644
--- a/book/src/languages.md
+++ b/book/src/languages.md
@@ -56,7 +56,7 @@ These configuration keys are available:
| `auto-format` | Whether to autoformat this language when saving |
| `diagnostic-severity` | Minimal severity of diagnostic for it to be displayed. (Allowed values: `Error`, `Warning`, `Info`, `Hint`) |
| `comment-token` | The token to use as a comment-token |
-| `indent` | The indent to use. Has sub keys `tab-width` and `unit` |
+| `indent` | The indent to use. Has sub keys `unit` (the text inserted into the document when indenting; usually set to N spaces or `"\t"` for tabs) and `tab-width` (the number of spaces rendered for a tab) |
| `language-server` | The Language Server to run. See the Language Server configuration section below. |
| `config` | Language Server configuration |
| `grammar` | The tree-sitter grammar to use (defaults to the value of `name`) |