From 201ddd667a753f0f61a9c6e63be91ac40f7ea371 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sun, 9 Aug 2026 12:11:26 +0200 Subject: Update autoindent configuration for clang --- lua/aotrix/plugins/autoformat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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'}} -- cgit v1.2.3