aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/options_doc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/options_doc.lua')
-rw-r--r--scripts/options_doc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua
index 5dab627..9073369 100644
--- a/scripts/options_doc.lua
+++ b/scripts/options_doc.lua
@@ -13,6 +13,7 @@ require("conform").setup({
},
-- 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.
format_on_save = {
-- I recommend these options. See :help conform.format for details.
lsp_fallback = true,
@@ -20,6 +21,7 @@ require("conform").setup({
},
-- If this is set, Conform will run the formatter asynchronously after save.
-- It will pass the table to conform.format().
+ -- This can also be a function that returns the table.
format_after_save = {
lsp_fallback = true,
},