From f86cd7f475d5b0d3ab0b0b57b8edaa06ac911e0b Mon Sep 17 00:00:00 2001 From: stvhuang Date: Sun, 27 Aug 2023 12:09:35 +0800 Subject: doc: fix example code in README (#4) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aef8065..2f3225c 100644 --- a/README.md +++ b/README.md @@ -226,7 +226,7 @@ require("conform").setup({ -- A function the 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 + require_cwd = true, -- When returns false, the formatter will not be used condition = function(ctx) return vim.fs.basename(ctx.filename) ~= "README.md" -- cgit v1.2.3-70-g09d2