aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/options_doc.lua
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2024-06-10 17:46:18 -0500
committerSteven Arcangeli <stevearc@stevearc.com>2024-06-10 17:46:18 -0500
commit07d1298739cd7c616cb683bfd848f6b369f93297 (patch)
tree9af9b7c1f3e6ce7e3c85f220d857f059b6d675b8 /scripts/options_doc.lua
parentb8e8fbe1e03b3b4d12b0255d67effd6420f49dcd (diff)
doc: document append_args
Diffstat (limited to 'scripts/options_doc.lua')
-rw-r--r--scripts/options_doc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua
index 238cd33..e9ba668 100644
--- a/scripts/options_doc.lua
+++ b/scripts/options_doc.lua
@@ -73,9 +73,13 @@ require("conform").setup({
},
-- Set to false to disable merging the config with the base definition
inherit = true,
+ -- When inherit = true, add these additional arguments to the beginning of the command.
-- When inherit = true, add these additional arguments to the command.
-- This can also be a function, like args
prepend_args = { "--use-tabs" },
+ -- When inherit = true, add these additional arguments to the end of the command.
+ -- This can also be a function, like args
+ append_args = { "--trailing-comma" },
},
-- These can also be a function that returns the formatter
other_formatter = function(bufnr)