From 23c214ed4abe6135837b58a6ef74705d352e5f1a Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 17 May 2025 16:12:20 +0200 Subject: [PATCH] build(deps): bump uncrustify to 0.81.0 --- cmake.deps/deps.txt | 4 ++-- src/uncrustify.cfg | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/cmake.deps/deps.txt b/cmake.deps/deps.txt index e4499847db..2bba9b5965 100644 --- a/cmake.deps/deps.txt +++ b/cmake.deps/deps.txt @@ -52,7 +52,7 @@ TREESITTER_SHA256 87eadc505905c70a692917c821958a819903f808f8d244068b1d273a033dc7 WASMTIME_URL https://github.com/bytecodealliance/wasmtime/archive/v29.0.1.tar.gz WASMTIME_SHA256 b94b6c6fd6aebaf05d4c69c1b12b5dc217b0d42c1a95f435b33af63dddfa5304 -UNCRUSTIFY_URL https://github.com/uncrustify/uncrustify/archive/uncrustify-0.80.1.tar.gz -UNCRUSTIFY_SHA256 0e2616ec2f78e12816388c513f7060072ff7942b42f1175eb28b24cb75aaec48 +UNCRUSTIFY_URL https://github.com/uncrustify/uncrustify/archive/uncrustify-0.81.0.tar.gz +UNCRUSTIFY_SHA256 484623dc16b92206adc6ac0770077c6c67c6e441102148c2a121a19549330ff9 LUA_DEV_DEPS_URL https://github.com/neovim/deps/raw/06ef2b58b0876f8de1a3f5a710473dcd7afff251/opt/lua-dev-deps.tar.gz LUA_DEV_DEPS_SHA256 49f8399e453103064a23c65534f266f3067cda716b6502f016bfafeed5799354 diff --git a/src/uncrustify.cfg b/src/uncrustify.cfg index 91a72fa318..2d1a89e6c5 100644 --- a/src/uncrustify.cfg +++ b/src/uncrustify.cfg @@ -1,4 +1,4 @@ -# Uncrustify-0.80.1_f +# Uncrustify-0.81.0_f # # General options @@ -881,6 +881,7 @@ sp_inv = remove # ignore/add/remove/force sp_addr = ignore # ignore/add/remove/force # Add or remove space around the '.' or '->' operators. +# also the c-sharp null-conditional operator '?.' # # Default: remove sp_member = remove # ignore/add/remove/force @@ -1499,6 +1500,9 @@ indent_bool_paren = 0 # number # parentheses. indent_ignore_bool = false # true/false +# Whether to indent lines that are nested in boolean expression one more level for each nesting +indent_bool_nested_all = false # true/false + # Whether to ignore the indentation of an arithmetic operator. indent_ignore_arith = false # true/false @@ -2189,6 +2193,12 @@ nl_after_vbrace_close = false # true/false # structures. If set to ignore, uses nl_after_brace_close. nl_brace_struct_var = ignore # ignore/add/remove/force +# Whether to add a newline before/after each '&&' or `||` on the same +# nesting level in a boolean expression if boolean expression will not +# fit on a line. code_width needs to be positive and pos_bool needs +# to be 'lead' or 'trail' for this option to have any effect. +nl_bool_expr_hierarchical = false # true/false + # Whether to alter newlines in '#define' macros. nl_define_macro = false # true/false @@ -2505,7 +2515,7 @@ nl_before_access_spec = 0 # unsigned number nl_after_access_spec = 0 # unsigned number # The number of newlines between a function definition and the function -# comment, as in '// comment\n void foo() {...}'. +# comment, as in '/* comment */ void foo() {...}'. # # 0: No change (default). nl_comment_func_def = 0 # unsigned number