mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.2739: Vim9: a lambda accepts too many arguments at the script level
Problem: Vim9: a lambda accepts too many arguments at the script level. Solution: Do not set uf_varargs in Vim9 script.
This commit is contained in:
@@ -3518,7 +3518,7 @@ func Test_no_redraw_when_restoring_cpo()
|
||||
vim9script
|
||||
set cpo+=M
|
||||
exe 'set rtp^=' .. getcwd() .. '/Xdir'
|
||||
au CmdlineEnter : ++once timer_start(0, () => script#func())
|
||||
au CmdlineEnter : ++once timer_start(0, (_) => script#func())
|
||||
setline(1, 'some text')
|
||||
END
|
||||
call writefile(lines, 'XTest_redraw_cpo')
|
||||
|
Reference in New Issue
Block a user