summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/options_doc.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua
index bce6908..b68614e 100644
--- a/scripts/options_doc.lua
+++ b/scripts/options_doc.lua
@@ -7,12 +7,9 @@ require("conform").setup({
-- Use a sub-list to run only the first available formatter
javascript = { { "prettierd", "prettier" } },
-- 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)
["*"] = { "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.
+ -- Use the "_" filetype to run formatters on filetypes that don't
+ -- have other formatters configured.
["_"] = { "trim_whitespace" },
},
-- If this is set, Conform will run the formatter on save.