Skip to content

Commit 07fdd26

Browse files
Update README with formatting options section
1 parent 5623d04 commit 07fdd26

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
Linting and formatting tools for Talon and Cursorless.
44

5-
## CLI
5+
## Command line
66

77
```sh
88
talon-fmt [options] [file/dir/glob ...]
99
snippet-fmt [options] [file/dir/glob ...]
1010
tree-sitter-fmt [options] [file/dir/glob ...]
1111
```
1212

13-
### Options
13+
### CLI options
1414

1515
All binaries support these options:
1616

@@ -20,6 +20,8 @@ All binaries support these options:
2020
| `--version` | Show version |
2121
| `--check` | Check formatting without writing |
2222

23+
## Formatting options
24+
2325
Formatting options are read from [.editorconfig](https://editorconfig.org) based on the file path being
2426
formatted. For stdin, the formatter resolves a synthetic file such as
2527
`stdin.talon`, `stdin.talon-list`, `stdin.scm`, or `stdin.snippet` from the

0 commit comments

Comments
 (0)