mirror of
https://github.com/zoriya/vim.git
synced 2025-12-22 23:25:31 +00:00
patch 8.2.2484: Vim9: Cannot use a comment starting with #{
Problem: Vim9: Cannot use a comment starting with #{ after an expression.
Solution: Remove the check for "{" since #{ dictionaries are not supported.
This commit is contained in:
@@ -2205,6 +2205,10 @@ def Test_while_loop()
|
||||
result ..= cnt .. '_'
|
||||
endwhile
|
||||
assert_equal('1_3_', result)
|
||||
|
||||
var s = ''
|
||||
while s == 'x' #{comment
|
||||
endwhile
|
||||
enddef
|
||||
|
||||
def Test_while_loop_fails()
|
||||
|
||||
Reference in New Issue
Block a user