mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
refactor: remove unused fn au_event_is_empty
#35862
Redundant with `has_event`.
This commit is contained in:
@@ -2508,12 +2508,6 @@ char *aucmd_handler_to_string(AutoCmd *ac)
|
|||||||
return callback_to_string(&ac->handler_fn, NULL);
|
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
|
// Arg Parsing Functions
|
||||||
|
|
||||||
/// Scan over the events. "*" stands for all events.
|
/// Scan over the events. "*" stands for all events.
|
||||||
|
Reference in New Issue
Block a user