diff options
| author | Aotrix <[email protected]> | 2025-08-09 19:45:57 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-08-09 19:45:57 +0200 |
| commit | dbba9b6bc4dfdadb2c8b4c0631c9213433ae43aa (patch) | |
| tree | 93ff8d5f9e98d2ce644975e1accd642be8b3c7be /lua/aotrix/plugins/autoformat.lua | |
| parent | d9d3a6a6ab130c84d9d93bd608659d8212e6915a (diff) | |
changed maximum number of characters per line
Diffstat (limited to 'lua/aotrix/plugins/autoformat.lua')
| -rw-r--r-- | lua/aotrix/plugins/autoformat.lua | 12 |
1 files changed, 6 insertions, 6 deletions
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' } } } } } |
