diff options
author | stvhuang <stvhuang.me@gmail.com> | 2023-08-27 12:09:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 21:09:35 -0700 |
commit | f86cd7f475d5b0d3ab0b0b57b8edaa06ac911e0b (patch) | |
tree | b968f4cba3508a4152f99383a5a705b5deac36f2 /README.md | |
parent | 500d24dc1a2447a3c8f3f4f756f40bd27ff0b283 (diff) |
doc: fix example code in README (#4)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |