diff options
Diffstat (limited to 'doc/conform.txt')
-rw-r--r-- | doc/conform.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/conform.txt b/doc/conform.txt index b28ac3f..bcf6e31 100644 --- a/doc/conform.txt +++ b/doc/conform.txt @@ -72,6 +72,8 @@ OPTIONS *conform-option cwd = require("conform.util").root_file({ ".editorconfig", "package.json" }), -- When cwd is not found, don't run the formatter (default false) require_cwd = true, + -- When stdin=false, use this template to generate the temporary file that gets formatted + tmpfile_format = ".conform.$RANDOM.$FILENAME", -- When returns false, the formatter will not be used condition = function(ctx) return vim.fs.basename(ctx.filename) ~= "README.md" |