aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/options_doc.lua
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-09-06 14:01:00 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2023-09-06 14:01:30 -0700
commit1a4202d5fa50e1cf140ccced82e4cce6242fa35d (patch)
treee08cdeb5b9a4097700e2fb79e2c60aa6bd4dfbe9 /scripts/options_doc.lua
parent9ed2f2ba056cee4b1ef9b091164b6dd74561718c (diff)
doc: add guidance for extending built-in formatters (#27)
Diffstat (limited to 'scripts/options_doc.lua')
-rw-r--r--scripts/options_doc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua
index 8b1f0d9..a501e38 100644
--- a/scripts/options_doc.lua
+++ b/scripts/options_doc.lua
@@ -40,7 +40,7 @@ require("conform").setup({
-- 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,