From 1a4202d5fa50e1cf140ccced82e4cce6242fa35d Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Wed, 6 Sep 2023 14:01:00 -0700 Subject: doc: add guidance for extending built-in formatters (#27) --- doc/conform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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, -- cgit v1.2.3-70-g09d2