refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)

This commit is contained in:
dundargoc
2022-05-25 20:31:14 +02:00
committed by GitHub
parent 8c4e62351f
commit 9fec6dc9a2
145 changed files with 5 additions and 586 deletions

View File

@@ -126,7 +126,6 @@ static void augroup_map_del(int id, char *name)
}
}
static inline const char *get_deleted_augroup(void) FUNC_ATTR_ALWAYS_INLINE
{
if (deleted_augroup == NULL) {
@@ -388,7 +387,6 @@ static void au_cleanup(void)
au_need_clean = false;
}
// Get the first AutoPat for a particular event.
AutoPat *au_get_autopat_for_event(event_T event)
FUNC_ATTR_PURE
@@ -668,7 +666,6 @@ const char *event_nr2name(event_T event)
return "Unknown";
}
/// Return true if "event" is included in 'eventignore'.
///
/// @param event event to check
@@ -1017,7 +1014,6 @@ int autocmd_register(int64_t id, event_T event, char *pat, int patlen, int group
findgroup = group;
}
// detect special <buffer[=X]> buffer-local patterns
int is_buflocal = aupat_is_buflocal(pat, patlen);
int buflocal_nr = 0;
@@ -1853,7 +1849,6 @@ bool apply_autocmds_group(event_T event, char *fname, char *fname_io, bool force
reset_lnums();
}
if (eap != NULL) {
(void)set_cmdarg(NULL, save_cmdarg);
set_vim_var_nr(VV_CMDBANG, save_cmdbang);
@@ -2651,7 +2646,6 @@ static bool arg_autocmd_flag_get(bool *flag, char **cmd_ptr, char *pattern, int
return false;
}
// UI Enter
void do_autocmd_uienter(uint64_t chanid, bool attached)
{