mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 9.1.0831: 'findexpr' can't be used as lambad or Funcref
Problem: 'findexpr' can't be used for lambads (Justin Keyes) Solution: Replace the findexpr option with the findfunc option (Yegappan Lakshmanan) related: #15905 closes: #15976 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
0b8176dff2
commit
a13f3a4f5d
@@ -160,8 +160,7 @@ static struct vimvar
|
||||
{VV_NAME("python3_version", VAR_NUMBER), NULL, VV_RO},
|
||||
{VV_NAME("t_typealias", VAR_NUMBER), NULL, VV_RO},
|
||||
{VV_NAME("t_enum", VAR_NUMBER), NULL, VV_RO},
|
||||
{VV_NAME("t_enumvalue", VAR_NUMBER), NULL, VV_RO},
|
||||
{VV_NAME("cmdcomplete", VAR_BOOL), NULL, VV_RO},
|
||||
{VV_NAME("t_enumvalue", VAR_NUMBER), NULL, VV_RO}
|
||||
};
|
||||
|
||||
// shorthand
|
||||
@@ -235,7 +234,6 @@ evalvars_init(void)
|
||||
set_vim_var_nr(VV_SEARCHFORWARD, 1L);
|
||||
set_vim_var_nr(VV_HLSEARCH, 1L);
|
||||
set_vim_var_nr(VV_EXITING, VVAL_NULL);
|
||||
set_vim_var_nr(VV_CMDCOMPLETE, VVAL_FALSE);
|
||||
set_vim_var_dict(VV_COMPLETED_ITEM, dict_alloc_lock(VAR_FIXED));
|
||||
set_vim_var_list(VV_ERRORS, list_alloc());
|
||||
set_vim_var_dict(VV_EVENT, dict_alloc_lock(VAR_FIXED));
|
||||
|
Reference in New Issue
Block a user