diff src/testdir/test_vim9_expr.vim @ 24176:12378fbc99bc v8.2.2629

patch 8.2.2629: Vim9: error for #{{ is not desired Commit: https://github.com/vim/vim/commit/a0399efa72380115a3eb650544dd64e459476bd2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 20 15:00:01 2021 +0100 patch 8.2.2629: Vim9: error for #{{ is not desired Problem: Vim9: error for #{{ is not desired. Solution: Adjust the checks. (closes https://github.com/vim/vim/issues/7990)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Mar 2021 15:15:02 +0100
parents 99bfaa4693db
children c20e763bc73c
line wrap: on
line diff
--- a/src/testdir/test_vim9_expr.vim
+++ b/src/testdir/test_vim9_expr.vim
@@ -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)