diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/ecex.h | 5 | ||||
| -rw-r--r-- | include/types.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ecex.h b/include/ecex.h index 085c3d2..3e0048e 100644 --- a/include/ecex.h +++ b/include/ecex.h @@ -154,7 +154,12 @@ int ecex_define_word_completion_provider(ecex_t *ed, const char *mode_name, int flags); int ecex_completion_provider_add_word(ecex_t *ed, const char *name, const char *word); +int ecex_completion_provider_add_word_detail(ecex_t *ed, + const char *name, + const char *word, + const char *detail); int ecex_completion_provider_add_words(ecex_t *ed, const char *name, const char *words); +int ecex_completion_provider_add_entries(ecex_t *ed, const char *name, const char *entries); int ecex_completion_provider_set_detail(ecex_t *ed, const char *name, const char *detail); int ecex_add_clangd_completion_provider(ecex_t *ed, const char *name, const char *mode_name); int ecex_remove_completion_provider(ecex_t *ed, const char *name); diff --git a/include/types.h b/include/types.h index 2b63ad3..008bd98 100644 --- a/include/types.h +++ b/include/types.h @@ -260,6 +260,7 @@ typedef struct ecex_completion_provider { ecex_hook_free_fn free_fn; char *detail; char **words; + char **word_details; size_t word_count; int flags; } ecex_completion_provider_t; |
