aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake.deps/deps.txt4
-rw-r--r--src/uncrustify.cfg19
2 files changed, 20 insertions, 3 deletions
diff --git a/cmake.deps/deps.txt b/cmake.deps/deps.txt
index d98ff6ea97..a9a42d42b0 100644
--- a/cmake.deps/deps.txt
+++ b/cmake.deps/deps.txt
@@ -56,7 +56,7 @@ TREESITTER_SHA256 61a21f5d83cfe256472bfa941123a6941fb45073784ee7ec0bc32fdd52f7a4
WASMTIME_URL https://github.com/bytecodealliance/wasmtime/archive/v25.0.2.tar.gz
WASMTIME_SHA256 6d1c17c756b83f29f629963228e5fa208ba9d6578421ba2cd07132b6a120accb
-UNCRUSTIFY_URL https://github.com/uncrustify/uncrustify/archive/uncrustify-0.79.0.tar.gz
-UNCRUSTIFY_SHA256 e7afaeabf636b7f0ce4e3e9747b95f7bd939613a8db49579755dddf44fedca5f
+UNCRUSTIFY_URL https://github.com/uncrustify/uncrustify/archive/uncrustify-0.80.0.tar.gz
+UNCRUSTIFY_SHA256 8df1a4fb9aeb6c59d21fd328bb8fd34be7a11aef24310636df5cadca0900c729
LUA_DEV_DEPS_URL https://github.com/neovim/deps/raw/5a1f71cceb24990a0b15fd9a472a5f549f019248/opt/lua-dev-deps.tar.gz
LUA_DEV_DEPS_SHA256 27db2495f5eddc7fc191701ec9b291486853530c6125609d3197d03481e8d5a2
diff --git a/src/uncrustify.cfg b/src/uncrustify.cfg
index 50cee638af..a3b0c4a9a5 100644
--- a/src/uncrustify.cfg
+++ b/src/uncrustify.cfg
@@ -1,4 +1,4 @@
-# Uncrustify-0.79.0_f
+# Uncrustify-0.80.0_f
#
# General options
@@ -422,6 +422,10 @@ sp_invariant_paren = ignore # ignore/add/remove/force
sp_after_invariant_paren = ignore # ignore/add/remove/force
# Add or remove space before empty statement ';' on 'if', 'for' and 'while'.
+# examples:
+# if (b) <here> ;
+# for (a=1; a<10; a++) <here> ;
+# while (*p++ = ' ') <here> ;
sp_special_semi = ignore # ignore/add/remove/force
# Add or remove space before ';'.
@@ -1103,6 +1107,10 @@ sp_after_emb_cmt = force # ignore/add/remove/force
# Default: 1
sp_num_after_emb_cmt = 1 # unsigned number
+# Embedded comment spacing options have higher priority (== override)
+# than other spacing options (comma, parenthesis, braces, ...)
+sp_emb_cmt_priority = false # true/false
+
# (Java) Add or remove space between an annotation and the open parenthesis.
sp_annotation_paren = ignore # ignore/add/remove/force
@@ -1127,6 +1135,15 @@ force_tab_after_define = false # true/false
# Add or remove space between two strings.
sp_string_string = force # ignore/add/remove/force
+# Add or remove space 'struct' and a type.
+sp_struct_type = ignore # ignore/add/remove/force
+
+# Add or remove space between '_Pragma' and the opening paarenthesis
+sp_pragma_open_parenthesis = ignore # ignore/add/remove/force
+
+# Add or remove space inside '(' and ')' of _Pragma.
+sp_inside_gparen = ignore # ignore/add/remove/force
+
#
# Indenting options
#