EC_COMP_ITEM_GET_GRP(3)
π EC_COMP_ITEM_GET_GRP(3) π
okay bestie, so this is a page straight outta the Libecoli Programmer's Manual, and honestly? it's a little one, but it's iconic for it. let's go π«Ά
β¨ NAME β¨
ec_comp_item_get_grp β get the group of a completion item, periodt.
πΈ SYNOPSIS πΈ
#include <ecoli/complete.h>
const struct ec_comp_group * ec_comp_item_get_grp(
const struct ec_comp_item *item /* The completion item. */
);
like, that's the whole thing. one function, one argument, she's serving minimalism π
π¦ DESCRIPTION π¦
so the completion group is basically the squad β it's the list of items that share the same parsing state AND were issued by the same node. both. no cap.
think of it like: same vibe (parsing state), same source (node), so they get grouped together. it's giving found family, fr fr. β¨
π RETURN VALUE π
the completion group of this item. that's it, that's the tea. π
π SEE ALSO π
the whole friend group, alphabetically-ish, all of them, no skipping:
ec_comp_add_item(3)ec_comp_count(3)ec_comp_item_set_str(3)ec_complete(3)ec_comp_get_attrs(3)ec_comp_group_get_attrs(3)ec_comp_iter_next(3)ec_comp_item_get_node(3)ec_comp_iter_first(3)ec_comp_item_get_current(3)ec_comp_group_get_node(3)ec_complete_strvec_expand(3)ec_comp_free(3)ec_comp_get_cur_pstate(3)ec_complete_unknown(3)ec_complete_strvec(3)ec_comp_item_get_type(3)ec_comp_item_get_str(3)ec_comp_item_set_display(3)ec_complete_child(3)ec_comp(3)ec_comp_item_get_display(3)ec_comp_item_get_completion(3)ec_comp_group_get_pstate(3)ec_comp_dump(3)ec_comp_merge(3)ec_comp_item_set_completion(3)ec_comp_get_cur_group(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page bestie, short and sweet, lowkey obsessed with her π§
libecoli Β· 2026-06-11 Β· EC_COMP_ITEM_GET_GRP(3) β mwah, take care, go read the other manpages π
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms