diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/options_doc.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua index 47eccd9..1a6921c 100644 --- a/scripts/options_doc.lua +++ b/scripts/options_doc.lua @@ -6,6 +6,10 @@ 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. + -- Note that if you use this, you may want to set lsp_fallback = "always" + -- (see :help conform.format) + ["*"] = { "trim_whitespace" }, }, -- If this is set, Conform will run the formatter on save. -- It will pass the table to conform.format(). |