Mercurial > vim
view src/proto/insexpand.pro @ 17020:1841c03a9b5e v8.1.1510
patch 8.1.1510: a plugin cannot easily expand a command like done internally
commit https://github.com/vim/vim/commit/80dad48c5095d30873a42ec82628bdb213125d8e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 9 17:22:31 2019 +0200
patch 8.1.1510: a plugin cannot easily expand a command like done internally
Problem: A plugin cannot easily expand a command like done internally.
Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4514)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 09 Jun 2019 17:30:04 +0200 |
parents | 5df26b29e809 |
children | 73a93aae5f68 |
line wrap: on
line source
/* insexpand.c */ void ins_ctrl_x(void); int ctrl_x_mode_none(void); int ctrl_x_mode_normal(void); int ctrl_x_mode_scroll(void); int ctrl_x_mode_whole_line(void); int ctrl_x_mode_files(void); int ctrl_x_mode_tags(void); int ctrl_x_mode_path_patterns(void); int ctrl_x_mode_path_defines(void); int ctrl_x_mode_dictionary(void); int ctrl_x_mode_thesaurus(void); int ctrl_x_mode_cmdline(void); int ctrl_x_mode_function(void); int ctrl_x_mode_omni(void); int ctrl_x_mode_spell(void); int ctrl_x_mode_line_or_eval(void); int ctrl_x_mode_not_default(void); int ctrl_x_mode_not_defined_yet(void); int has_compl_option(int dict_opt); int vim_is_ctrl_x_key(int c); int ins_compl_accept_char(int c); int ins_compl_add_infercase(char_u *str_arg, int len, int icase, char_u *fname, int dir, int cont_s_ipos); int ins_compl_has_shown_match(void); int ins_compl_long_shown_match(void); void completeopt_was_set(void); void set_completion(colnr_T startcol, list_T *list); int pum_wanted(void); void ins_compl_show_pum(void); char_u *find_word_start(char_u *ptr); char_u *find_word_end(char_u *ptr); void ins_compl_clear(void); int ins_compl_active(void); void get_complete_info(list_T *what_list, dict_T *retdict); int ins_compl_used_match(void); void ins_compl_init_get_longest(void); int ins_compl_interrupted(void); int ins_compl_enter_selects(void); colnr_T ins_compl_col(void); int ins_compl_bs(void); void ins_compl_addleader(int c); void ins_compl_addfrommatch(void); int ins_compl_prep(int c); int ins_compl_add_tv(typval_T *tv, int dir); void ins_compl_delete(void); void ins_compl_insert(int in_compl_func); void ins_compl_check_keys(int frequency, int in_compl_func); int ins_complete(int c, int enable_pum); void free_insexpand_stuff(void); /* vim: set ft=c : */