summaryrefslogtreecommitdiff
path: root/lua/aotrix/plugins/autoformat.lua
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-08-09 12:43:13 +0200
committerAotrix <[email protected]>2026-08-09 12:43:13 +0200
commit2a5accbe2e66878fd2c2ab1bf3d784a990ae4cda (patch)
tree6e9063bb17109581dccffad8e887d7d826a3fc35 /lua/aotrix/plugins/autoformat.lua
parent201ddd667a753f0f61a9c6e63be91ac40f7ea371 (diff)
Finally one parameter per line
Diffstat (limited to 'lua/aotrix/plugins/autoformat.lua')
-rw-r--r--lua/aotrix/plugins/autoformat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/aotrix/plugins/autoformat.lua b/lua/aotrix/plugins/autoformat.lua
index 9b7bbdf..e9c9410 100644
--- a/lua/aotrix/plugins/autoformat.lua
+++ b/lua/aotrix/plugins/autoformat.lua
@@ -11,7 +11,7 @@ return {
formatters = {
clang_format = {
prepend_args = {
- '--style={IndentWidth: 4, ColumnLimit: 100, BreakBeforeBraces: Allman, AlignAfterOpenBracket: true, AlignConsecutiveAssignments: true, BreakAfterAttributes: Always}'
+ '--style={IndentWidth: 4, ColumnLimit: 100, BreakBeforeBraces: Allman, AlignAfterOpenBracket: true, AlignConsecutiveAssignments: true, BreakAfterAttributes: Always, BinPackParameters: AlwaysOnePerLine}'
}
},
shfmt = {prepend_args = {'-i', '4'}}