aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/util.lua')
-rw-r--r--lua/conform/util.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/conform/util.lua b/lua/conform/util.lua
index 1222af2..4f9b01b 100644
--- a/lua/conform/util.lua
+++ b/lua/conform/util.lua
@@ -170,6 +170,8 @@ M.merge_formatter_configs = function(config, override)
local ret = vim.tbl_deep_extend("force", config, override)
if override.prepend_args then
M.add_formatter_args(ret, override.prepend_args, { append = false })
+ elseif override.append_args then
+ M.add_formatter_args(ret, override.append_args, { append = true })
end
return ret
end