0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.2.2629: Vim9: error for #{{ is not desired

Problem:    Vim9: error for #{{ is not desired.
Solution:   Adjust the checks. (closes #7990)
This commit is contained in:
Bram Moolenaar
2021-03-20 15:00:01 +01:00
parent 5c7a299c16
commit a0399efa72
5 changed files with 12 additions and 5 deletions

View File

@@ -2155,6 +2155,10 @@ def Test_expr7_dict()
# automatic conversion from number to string
var n = 123
var dictnr = {[n]: 1}
# comment to start fold is OK
var x1: number #{{ fold
var x2 = 9 #{{ fold
END
CheckDefAndScriptSuccess(lines)