aboutsummaryrefslogtreecommitdiffstats
path: root/doc/recipes.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/recipes.md')
-rw-r--r--doc/recipes.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/recipes.md b/doc/recipes.md
index 5aeaf47..66bc662 100644
--- a/doc/recipes.md
+++ b/doc/recipes.md
@@ -191,4 +191,7 @@ local deno_fmt = require("conform.formatters.deno_fmt")
require("conform").formatters.deno_fmt = vim.tbl_deep_extend('force', deno_fmt, {
args = util.extend_args(deno_fmt.args, { "--use-tabs" }, { append = true })
})
+
+-- There is also a utility to modify a formatter in-place
+util.add_formatter_args(require("conform.formatters.prettier"), { "--tab", "--indent", "2" })
```