Mercurial > vim
comparison src/structs.h @ 26388:8aba638e91eb v8.2.3725
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'
Commit: https://github.com/vim/vim/commit/8658c759f05b317707d56e3b65a5ef63930c7498
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Fri Dec 3 11:09:29 2021 +0000
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
Solution: Implement lambda support. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/9257)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 03 Dec 2021 12:15:04 +0100 |
parents | 3841da4eac23 |
children | b115b552071f |
comparison
equal
deleted
inserted
replaced
26387:b6eb7e295973 | 26388:8aba638e91eb |
---|---|
2874 #ifdef BACKSLASH_IN_FILENAME | 2874 #ifdef BACKSLASH_IN_FILENAME |
2875 char_u *b_p_csl; // 'completeslash' | 2875 char_u *b_p_csl; // 'completeslash' |
2876 #endif | 2876 #endif |
2877 #ifdef FEAT_COMPL_FUNC | 2877 #ifdef FEAT_COMPL_FUNC |
2878 char_u *b_p_cfu; // 'completefunc' | 2878 char_u *b_p_cfu; // 'completefunc' |
2879 callback_T b_cfu_cb; // 'completefunc' callback | |
2879 char_u *b_p_ofu; // 'omnifunc' | 2880 char_u *b_p_ofu; // 'omnifunc' |
2881 callback_T b_ofu_cb; // 'omnifunc' callback | |
2880 #endif | 2882 #endif |
2881 #ifdef FEAT_EVAL | 2883 #ifdef FEAT_EVAL |
2882 char_u *b_p_tfu; // 'tagfunc' option value | 2884 char_u *b_p_tfu; // 'tagfunc' option value |
2883 callback_T b_tfu_cb; // 'tagfunc' callback | 2885 callback_T b_tfu_cb; // 'tagfunc' callback |
2884 #endif | 2886 #endif |
2980 unsigned b_tc_flags; // flags for 'tagcase' | 2982 unsigned b_tc_flags; // flags for 'tagcase' |
2981 char_u *b_p_dict; // 'dictionary' local value | 2983 char_u *b_p_dict; // 'dictionary' local value |
2982 char_u *b_p_tsr; // 'thesaurus' local value | 2984 char_u *b_p_tsr; // 'thesaurus' local value |
2983 #ifdef FEAT_COMPL_FUNC | 2985 #ifdef FEAT_COMPL_FUNC |
2984 char_u *b_p_tsrfu; // 'thesaurusfunc' local value | 2986 char_u *b_p_tsrfu; // 'thesaurusfunc' local value |
2987 callback_T b_tsrfu_cb; // 'thesaurusfunc' callback | |
2985 #endif | 2988 #endif |
2986 long b_p_ul; // 'undolevels' local value | 2989 long b_p_ul; // 'undolevels' local value |
2987 #ifdef FEAT_PERSISTENT_UNDO | 2990 #ifdef FEAT_PERSISTENT_UNDO |
2988 int b_p_udf; // 'undofile' | 2991 int b_p_udf; // 'undofile' |
2989 #endif | 2992 #endif |