Mercurial > vim
diff src/proto/eval.pro @ 3078:2cbde6bcc623 v7.3.311
updated for version 7.3.311
Problem: Complete function isn't called when the leader changed.
Solution: Allow the complete function to return a dictionary with a flag
that indicates ins_compl_restart() is to be called when the leader
changes. (Taro Muraoka)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Sep 2011 16:52:09 +0200 |
parents | 941ff1cd317a |
children | c052f3b79b99 |
line wrap: on
line diff
--- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -23,6 +23,7 @@ int eval_to_number __ARGS((char_u *expr) list_T *eval_spell_expr __ARGS((char_u *badword, char_u *expr)); int get_spellword __ARGS((list_T *list, char_u **pp)); typval_T *eval_expr __ARGS((char_u *arg, char_u **nextcmd)); +int call_vim_function __ARGS((char_u *func, int argc, char_u **argv, int safe, typval_T *rettv)); void *call_func_retstr __ARGS((char_u *func, int argc, char_u **argv, int safe)); long call_func_retnr __ARGS((char_u *func, int argc, char_u **argv, int safe)); void *call_func_retlist __ARGS((char_u *func, int argc, char_u **argv, int safe)); @@ -52,6 +53,7 @@ int list_append_dict __ARGS((list_T *lis int list_append_string __ARGS((list_T *l, char_u *str, int len)); int garbage_collect __ARGS((void)); dict_T *dict_alloc __ARGS((void)); +void dict_unref __ARGS((dict_T *d)); dictitem_T *dictitem_alloc __ARGS((char_u *key)); void dictitem_free __ARGS((dictitem_T *item)); int dict_add __ARGS((dict_T *d, dictitem_T *item));