Mercurial > vim
diff src/testdir/test_options.vim @ 36447:fb5b2d1f2439 draft v9.1.0831
patch 9.1.0831: 'findexpr' can't be used as lambad or Funcref
Commit: https://github.com/vim/vim/commit/a13f3a4f5de9c150f70298850e34747838904995
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Nov 2 18:40:10 2024 +0100
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 02 Nov 2024 18:45:23 +0100 |
parents | adf986edc45d |
children | 9f484a1841eb |
line wrap: on
line diff
--- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -1570,7 +1570,7 @@ endfunc " Test for changing options in a sandbox func Test_opt_sandbox() - for opt in ['backupdir', 'cdpath', 'exrc', 'findexpr'] + for opt in ['backupdir', 'cdpath', 'exrc', 'findfunc'] call assert_fails('sandbox set ' .. opt .. '?', 'E48:') call assert_fails('sandbox let &' .. opt .. ' = 1', 'E48:') endfor