summaryrefslogtreecommitdiff
path: root/lua/aotrix/plugins
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-08-09 12:11:26 +0200
committerAotrix <[email protected]>2026-08-09 12:11:26 +0200
commit201ddd667a753f0f61a9c6e63be91ac40f7ea371 (patch)
tree08e25cdc37f6dc016777be94f73787388d35dec7 /lua/aotrix/plugins
parent70f2b50252d5d1a070d541fa0b36f1637ec3066e (diff)
Update autoindent configuration for clang
Diffstat (limited to 'lua/aotrix/plugins')
-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 511af90..9b7bbdf 100644
--- a/lua/aotrix/plugins/autoformat.lua
+++ b/lua/aotrix/plugins/autoformat.lua
@@ -11,7 +11,7 @@ return {
formatters = {
clang_format = {
prepend_args = {
- '--style={BasedOnStyle: LLVM, IndentWidth: 4, ColumnLimit: 100}'
+ '--style={IndentWidth: 4, ColumnLimit: 100, BreakBeforeBraces: Allman, AlignAfterOpenBracket: true, AlignConsecutiveAssignments: true, BreakAfterAttributes: Always}'
}
},
shfmt = {prepend_args = {'-i', '4'}}