1
0
forked from aniani/vim

patch 8.2.1891: Vim9: skipping over expression doesn't handle line breaks

Problem:    Vim9: skipping over expression doesn't handle line breaks.
Solution:   Pass evalarg to skip_expr(). (closes #7157)
This commit is contained in:
Bram Moolenaar
2020-10-22 21:22:58 +02:00
parent 081db1a66d
commit 683581eb49
7 changed files with 22 additions and 10 deletions

View File

@@ -242,6 +242,13 @@ def Test_method_call_linebreak()
CheckScriptSuccess(lines)
enddef
def Test_skipped_expr_linebreak()
if 0
var x = []
->map({ -> 0})
endif
enddef
def Test_dict_member()
var test: dict<list<number>> = {'data': [3, 1, 2]}
test.data->sort()