forked from aniani/vim
patch 9.0.0156: giving E1170 only in an expression is confusing
Problem: Giving E1170 only in an expression is confusing. Solution: Give E1170 for any "#{ comment". (closes #10855)
This commit is contained in:
@@ -2668,8 +2668,12 @@ def Test_vim9_comment()
|
||||
'vim9script',
|
||||
'# something',
|
||||
'#something',
|
||||
'#{something',
|
||||
'#{{something',
|
||||
])
|
||||
v9.CheckScriptFailure([
|
||||
'vim9script',
|
||||
'#{something',
|
||||
], 'E1170:')
|
||||
|
||||
split Xfile
|
||||
v9.CheckScriptSuccess([
|
||||
|
Reference in New Issue
Block a user