mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.2.1182: Vim9: no check for whitespace after comma in lambda
Problem: Vim9: no check for whitespace after comma in lambda. Solution: Give error if white space is missing.
This commit is contained in:
@@ -967,7 +967,7 @@ enddef
|
||||
|
||||
def Line_continuation_in_lambda(): list<number>
|
||||
let x = range(97, 100)
|
||||
->map({_,v -> nr2char(v)
|
||||
->map({_, v -> nr2char(v)
|
||||
->toupper()})
|
||||
->reverse()
|
||||
return x
|
||||
|
Reference in New Issue
Block a user