aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2024-06-10 17:42:58 -0500
committerSteven Arcangeli <stevearc@stevearc.com>2024-06-10 17:42:58 -0500
commita28a4255e5c5631ee9c58537592fca05447f0503 (patch)
tree468942221e73b255eb14f60dc5d34aaa0739816f /README.md
parentcf562dd160c27a7fc5342dfce7e1227746dd3aaa (diff)
feat: formatter override can use (#453)
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 041fcc5..78ad666 100644
--- a/README.md
+++ b/README.md
@@ -515,9 +515,12 @@ 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 command.
+ -- When inherit = true, add these additional arguments to the beginning of 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)