refactor: format files with uncrustify #15607

This commit is contained in:
dundargoc 2021-09-10 15:14:15 +02:00 committed by GitHub
parent aab3583e74
commit 3b3dbcf7b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 4112 additions and 3586 deletions

View File

@ -184,7 +184,7 @@ sp_paren_brace = ignore # ignore/add/remove/force/not_defined
sp_brace_brace = ignore # ignore/add/remove/force/not_defined
# Add or remove space before pointer star '*'.
sp_before_ptr_star = ignore # ignore/add/remove/force/not_defined
sp_before_ptr_star = force # ignore/add/remove/force/not_defined
# Add or remove space before pointer star '*' that isn't followed by a
# variable name. If set to ignore, sp_before_ptr_star is used instead.
@ -3279,5 +3279,5 @@ 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: 58
# option(s) with 'not default' value: 59
#

File diff suppressed because it is too large Load Diff

View File

@ -5696,7 +5696,7 @@ void ex_comclear(exarg_T *eap)
uc_clear(&curbuf->b_ucmds);
}
static void free_ucmd(ucmd_T* cmd) {
static void free_ucmd(ucmd_T * cmd) {
xfree(cmd->uc_name);
xfree(cmd->uc_rep);
xfree(cmd->uc_compl_arg);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6155,7 +6155,7 @@ static bool get_clipboard(int name, yankreg_T **target, bool quiet)
reg->y_array[tv_idx++] = (char_u *)xstrdupnul((const char *)TV_LIST_ITEM_TV(li)->vval.v_string);
});
if (reg->y_size > 0 && strlen((char*)reg->y_array[reg->y_size-1]) == 0) {
if (reg->y_size > 0 && strlen((char *)reg->y_array[reg->y_size-1]) == 0) {
// a known-to-be charwise yank might have a final linebreak
// but otherwise there is no line after the final newline
if (reg->y_type != kMTCharWise) {

File diff suppressed because it is too large Load Diff