diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-05-25 20:31:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 12:31:14 -0600 |
commit | 9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e (patch) | |
tree | 83e044109d61242150b8c98897e179416025f576 /src/nvim/autocmd.c | |
parent | 8c4e62351f67dd6a44f67f3a2b6f3a3551acf475 (diff) | |
download | rneovim-9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e.tar.gz rneovim-9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e.tar.bz2 rneovim-9fec6dc9a25b5cf9c9a444ac2bd0728e8af3229e.zip |
refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)
Diffstat (limited to 'src/nvim/autocmd.c')
-rw-r--r-- | src/nvim/autocmd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/autocmd.c b/src/nvim/autocmd.c index bc9e548b77..31efce13f6 100644 --- a/src/nvim/autocmd.c +++ b/src/nvim/autocmd.c @@ -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) { |