diff options
| author | Aotrix <[email protected]> | 2026-08-09 12:11:26 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-08-09 12:11:26 +0200 |
| commit | 201ddd667a753f0f61a9c6e63be91ac40f7ea371 (patch) | |
| tree | 08e25cdc37f6dc016777be94f73787388d35dec7 /lua | |
| parent | 70f2b50252d5d1a070d541fa0b36f1637ec3066e (diff) | |
Update autoindent configuration for clang
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/aotrix/plugins/autoformat.lua | 2 |
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'}} |
