neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c947b8da106c8a9448bb6fa1cc2aba82e51eb8e0
parent c2136e3590082c20fbc210a5578530b2625bf47e
Author: Justin M. Keyes <justinkz@gmail.com>
Date:   Sun, 21 Sep 2025 04:14:51 -0400

refactor: remove unused fn `au_event_is_empty` #35862

Redundant with `has_event`.
Diffstat:
Msrc/nvim/autocmd.c | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/nvim/autocmd.c b/src/nvim/autocmd.c @@ -2508,12 +2508,6 @@ char *aucmd_handler_to_string(AutoCmd *ac) return callback_to_string(&ac->handler_fn, NULL); } -bool au_event_is_empty(event_T event) - FUNC_ATTR_PURE -{ - return kv_size(autocmds[(int)event]) == 0; -} - // Arg Parsing Functions /// Scan over the events. "*" stands for all events.