Skip to content

Commit f30e23f

Browse files
committed
Fix tabWidth docs
1 parent 20fe46e commit f30e23f

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

docs/tabWidth.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Specifies amount of spaces to be used for indentation.
44

55
## Option value
66

7-
A string containing the characters of one indentation step.
8-
Defaults to two spaces (`" \ "`).
7+
A number specifying the number of spaces per indentation level.
98

109
This option is ignored when `useTabs` option is enabled.
1110

@@ -31,7 +30,7 @@ GROUP BY column4
3130

3231
### Indenting by 4 spaces
3332

34-
Using `indent: 4`:
33+
Using `tabWidth: 4`:
3534

3635
```sql
3736
SELECT
@@ -53,24 +52,4 @@ GROUP BY column4
5352

5453
### Indenting with tabs
5554

56-
Using `indent: "\t"`:
57-
58-
```sql
59-
SELECT
60-
*,
61-
FROM
62-
(
63-
SELECT
64-
column1,
65-
column5
66-
FROM
67-
table1
68-
) a
69-
JOIN table2
70-
WHERE
71-
column6
72-
AND column7
73-
GROUP BY column4
74-
```
75-
76-
Imagine that these long sequences of spaces are actually TAB characters :)
55+
See [`useTabs` option](useTabs.md).

0 commit comments

Comments
 (0)