mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
vim-patch:9.1.0831: 'findexpr' can't be used as lambad or Funcref (#31058)
Problem: 'findexpr' can't be used for lambads
(Justin Keyes)
Solution: Replace the findexpr option with the findfunc option
(Yegappan Lakshmanan)
related: vim/vim#15905
closes: vim/vim#15976
a13f3a4f5d
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
@@ -233,9 +233,9 @@ void check_buf_options(buf_T *buf)
|
||||
check_string_option(&buf->b_p_mp);
|
||||
check_string_option(&buf->b_p_efm);
|
||||
check_string_option(&buf->b_p_ep);
|
||||
check_string_option(&buf->b_p_fexpr);
|
||||
check_string_option(&buf->b_p_path);
|
||||
check_string_option(&buf->b_p_tags);
|
||||
check_string_option(&buf->b_p_ffu);
|
||||
check_string_option(&buf->b_p_tfu);
|
||||
check_string_option(&buf->b_p_tc);
|
||||
check_string_option(&buf->b_p_dict);
|
||||
@@ -1886,9 +1886,8 @@ int expand_set_nrformats(optexpand_T *args, int *numMatches, char ***matches)
|
||||
matches);
|
||||
}
|
||||
|
||||
/// One of the '*expr' options is changed:, 'diffexpr', 'findexpr',
|
||||
/// 'foldexpr', 'foldtext', 'formatexpr', 'includeexpr', 'indentexpr',
|
||||
/// 'patchexpr' and 'charconvert'.
|
||||
/// One of the '*expr' options is changed:, 'diffexpr', 'foldexpr', 'foldtext',
|
||||
/// 'formatexpr', 'includeexpr', 'indentexpr', 'patchexpr' and 'charconvert'.
|
||||
const char *did_set_optexpr(optset_T *args)
|
||||
{
|
||||
char **varp = (char **)args->os_varp;
|
||||
|
Reference in New Issue
Block a user