diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2023-09-08 09:13:06 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2023-09-08 09:13:06 -0700 |
commit | 0db858075b4d8214a34a6836d994e2100fed51bf (patch) | |
tree | d0939ecb9e74c91f51836793d7d57a805b8263fa /README.md | |
parent | 2568d746abbadf66a03c62b568ee73d874cd8617 (diff) |
doc: document the "*" filetype option
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -214,6 +214,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(). |