From dbba9b6bc4dfdadb2c8b4c0631c9213433ae43aa Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sat, 9 Aug 2025 19:45:57 +0200 Subject: changed maximum number of characters per line --- lua/aotrix/plugins/autoformat.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lua/aotrix/plugins/autoformat.lua') diff --git a/lua/aotrix/plugins/autoformat.lua b/lua/aotrix/plugins/autoformat.lua index 05ae2f9..c4f008f 100644 --- a/lua/aotrix/plugins/autoformat.lua +++ b/lua/aotrix/plugins/autoformat.lua @@ -2,17 +2,17 @@ return { "stevearc/conform.nvim", opts = { notify_on_error = false, - format_on_save = {timeout_ms = 500, lsp_fallback = true}, + format_on_save = { timeout_ms = 500, lsp_fallback = true }, formatters_by_ft = { - lua = {"lua-format"}, - cpp = {"clang_format"}, - cmake = {"cmake_format"} + lua = { "lua-format" }, + cpp = { "clang_format" }, + cmake = { "cmake_format" } }, formatters = { clang_format = { - prepend_args = {'--style={BasedOnStyle: LLVM, IndentWidth: 4}'} + prepend_args = { '--style={BasedOnStyle: LLVM, IndentWidth: 4, ColumnLimit: 120}' } }, - shfmt = {prepend_args = {'-i', '4'}} + shfmt = { prepend_args = { '-i', '4' } } } } } -- cgit v1.2.3