summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 71c122f..eceb89d 100644
--- a/README.md
+++ b/README.md
@@ -240,10 +240,14 @@ require("conform").setup({
python = { "isort", "black" },
-- Use a sub-list to run only the first available formatter
javascript = { { "prettierd", "prettier" } },
- -- Use the "*" filetype to run formatters on all files.
+ -- Use the "*" filetype to run formatters on all filetypes.
-- Note that if you use this, you may want to set lsp_fallback = "always"
-- (see :help conform.format)
- ["*"] = { "trim_whitespace" },
+ ["*"] = { "codespell" },
+ -- Use the "_" filetype to run formatters on all filetypes
+ -- that don't have other formatters configured. Again, you may want to
+ -- set lsp_fallback = "always" when using this value.
+ ["_"] = { "trim_whitespace" },
},
-- If this is set, Conform will run the formatter on save.
-- It will pass the table to conform.format().