diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2023-09-06 14:01:00 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2023-09-06 14:01:30 -0700 |
commit | 1a4202d5fa50e1cf140ccced82e4cce6242fa35d (patch) | |
tree | e08cdeb5b9a4097700e2fb79e2c60aa6bd4dfbe9 /doc | |
parent | 9ed2f2ba056cee4b1ef9b091164b6dd74561718c (diff) |
doc: add guidance for extending built-in formatters (#27)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conform.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/conform.txt b/doc/conform.txt index cc0550b..818a630 100644 --- a/doc/conform.txt +++ b/doc/conform.txt @@ -54,7 +54,7 @@ OPTIONS *conform-option -- When false, will create a temp file (will appear in "$FILENAME" args). The temp -- file is assumed to be modified in-place by the format command. stdin = true, - -- A function the calculates the directory to run the command in + -- A function that calculates the directory to run the command in cwd = require("conform.util").root_file({ ".editorconfig", "package.json" }), -- When cwd is not found, don't run the formatter (default false) require_cwd = true, |