mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
Refactor/uncrustify (#15790)
* refactor: format with uncrustify * fixup(dundar): fix functions comments * fixup(dundar): remove space between variable and ++/-- * fixup(dundar): better workaround for macro attributes This is done to be able to better use uncrustify rules for macros * fixup(justin): make preprocessors follow neovim style guide
This commit is contained in:
@@ -47,9 +47,7 @@ static msgpack_sbuffer sbuffer;
|
||||
} \
|
||||
\
|
||||
static void msgpack_rpc_from_##lt(Integer o, msgpack_packer *res) \
|
||||
/* uncrustify:indent-off */ \
|
||||
FUNC_ATTR_NONNULL_ARG(2) \
|
||||
/* uncrustify:indent-on */ \
|
||||
{ \
|
||||
msgpack_packer pac; \
|
||||
msgpack_packer_init(&pac, &sbuffer, msgpack_sbuffer_write); \
|
||||
|
1395
src/nvim/spell.c
1395
src/nvim/spell.c
File diff suppressed because it is too large
Load Diff
1229
src/nvim/spellfile.c
1229
src/nvim/spellfile.c
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
# Uncrustify-0.73.0-181-847f1e99
|
||||
# Uncrustify-0.73.0-186-03faf73c
|
||||
|
||||
#
|
||||
# General options
|
||||
@@ -787,7 +787,7 @@ sp_sign = ignore # ignore/add/remove/force/not_defined
|
||||
# applied, as in '(--x)' or 'y++;'.
|
||||
#
|
||||
# Default: remove
|
||||
sp_incdec = ignore # ignore/add/remove/force/not_defined
|
||||
sp_incdec = remove # ignore/add/remove/force/not_defined
|
||||
|
||||
# Add or remove space before a backslash-newline at the end of a line.
|
||||
#
|
||||
@@ -3041,7 +3041,7 @@ mod_sort_oc_property_nullability_weight = 0 # number
|
||||
|
||||
# Add or remove indentation of preprocessor directives inside #if blocks
|
||||
# at brace level 0 (file-level).
|
||||
pp_indent = ignore # ignore/add/remove/force/not_defined
|
||||
pp_indent = remove # ignore/add/remove/force/not_defined
|
||||
|
||||
# Whether to indent #if/#else/#endif at the brace level. If false, these are
|
||||
# indented from column 1.
|
||||
@@ -3056,7 +3056,7 @@ pp_indent_at_level = false # true/false
|
||||
pp_indent_count = 1 # unsigned number
|
||||
|
||||
# Add or remove space after # based on pp_level of #if blocks.
|
||||
pp_space = ignore # ignore/add/remove/force/not_defined
|
||||
pp_space = force # ignore/add/remove/force/not_defined
|
||||
|
||||
# Sets the number of spaces per level added with pp_space.
|
||||
pp_space_count = 0 # unsigned number
|
||||
@@ -3267,29 +3267,29 @@ debug_truncate = 0 # unsigned number
|
||||
# `macro-close END_MESSAGE_MAP`
|
||||
#
|
||||
#
|
||||
set PREPROC FUNC_API_CHECK_TEXTLOCK
|
||||
set PREPROC FUNC_API_DEPRECATED_SINCE
|
||||
set PREPROC FUNC_API_FAST
|
||||
set PREPROC FUNC_API_LUA_ONLY
|
||||
set PREPROC FUNC_API_NOEXPORT
|
||||
set PREPROC FUNC_API_REMOTE_ONLY
|
||||
set PREPROC FUNC_API_SINCE
|
||||
set PREPROC FUNC_ATTR_ALWAYS_INLINE
|
||||
set PREPROC FUNC_ATTR_CONST
|
||||
set PREPROC FUNC_ATTR_MALLOC
|
||||
set PREPROC FUNC_ATTR_NONNULL_ALL
|
||||
set PREPROC FUNC_ATTR_NONNULL_ARG
|
||||
set PREPROC FUNC_ATTR_NONNULL_RET
|
||||
set PREPROC FUNC_ATTR_NORETURN
|
||||
set PREPROC FUNC_ATTR_NO_SANITIZE_UNDEFINED
|
||||
set PREPROC FUNC_ATTR_PRINTF
|
||||
set PREPROC FUNC_ATTR_PURE
|
||||
set PREPROC FUNC_ATTR_UNUSED
|
||||
set PREPROC FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
set PREPROC REAL_FATTR_ALWAYS_INLINE
|
||||
set PREPROC REAL_FATTR_CONST
|
||||
set PREPROC REAL_FATTR_NONNULL_ALL
|
||||
set PREPROC REAL_FATTR_PURE
|
||||
set PREPROC REAL_FATTR_WARN_UNUSED_RESULT
|
||||
# option(s) with 'not default' value: 61
|
||||
set QUESTION FUNC_API_CHECK_TEXTLOCK
|
||||
set QUESTION FUNC_API_DEPRECATED_SINCE
|
||||
set QUESTION FUNC_API_FAST
|
||||
set QUESTION FUNC_API_LUA_ONLY
|
||||
set QUESTION FUNC_API_NOEXPORT
|
||||
set QUESTION FUNC_API_REMOTE_ONLY
|
||||
set QUESTION FUNC_API_SINCE
|
||||
set QUESTION FUNC_ATTR_ALWAYS_INLINE
|
||||
set QUESTION FUNC_ATTR_CONST
|
||||
set QUESTION FUNC_ATTR_MALLOC
|
||||
set QUESTION FUNC_ATTR_NONNULL_ALL
|
||||
set QUESTION FUNC_ATTR_NONNULL_ARG
|
||||
set QUESTION FUNC_ATTR_NONNULL_RET
|
||||
set QUESTION FUNC_ATTR_NORETURN
|
||||
set QUESTION FUNC_ATTR_NO_SANITIZE_UNDEFINED
|
||||
set QUESTION FUNC_ATTR_PRINTF
|
||||
set QUESTION FUNC_ATTR_PURE
|
||||
set QUESTION FUNC_ATTR_UNUSED
|
||||
set QUESTION FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
set QUESTION REAL_FATTR_ALWAYS_INLINE
|
||||
set QUESTION REAL_FATTR_CONST
|
||||
set QUESTION REAL_FATTR_NONNULL_ALL
|
||||
set QUESTION REAL_FATTR_PURE
|
||||
set QUESTION REAL_FATTR_WARN_UNUSED_RESULT
|
||||
# option(s) with 'not default' value: 62
|
||||
#
|
||||
|
Reference in New Issue
Block a user