aboutsummaryrefslogtreecommitdiffstats
path: root/doc/conform.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/conform.txt')
-rw-r--r--doc/conform.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/doc/conform.txt b/doc/conform.txt
index 8a8d60b..5995f99 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -16,16 +16,8 @@ OPTIONS *conform-option
-- Map of filetype to formatters
formatters_by_ft = {
lua = { "stylua" },
- -- Conform will use the first available formatter in the list
- javascript = { "prettierd", "prettier" },
- -- Formatters can also be specified with additional options
- python = {
- formatters = { "isort", "black" },
- -- Run formatters one after another instead of stopping at the first success
- run_all_formatters = true,
- -- Don't run these formatters as part of the format_on_save autocmd (see below)
- format_on_save = false,
- },
+ -- Conform will run multiple formatters sequentially
+ python = { "isort", "black" },
},
-- If this is set, Conform will run the formatter on save.
-- It will pass the table to conform.format().