diff options
Diffstat (limited to 'scripts/options_doc.lua')
-rw-r--r-- | scripts/options_doc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua index 193b462..d47c832 100644 --- a/scripts/options_doc.lua +++ b/scripts/options_doc.lua @@ -20,6 +20,11 @@ require("conform").setup({ -- have other formatters configured. ["_"] = { "trim_whitespace" }, }, + -- Set this to change the default values when calling conform.format() + -- This will also affect the default values for format_on_save/format_after_save + default_format_opts = { + lsp_format = "fallback", + }, -- If this is set, Conform will run the formatter on save. -- It will pass the table to conform.format(). -- This can also be a function that returns the table. |