mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 8.2.2135: Vim9: #{ still seen as start of dict in some places
Problem: Vim9: #{ still seen as start of dict in some places. Solution: Remove check for { after #. (closes #7456)
This commit is contained in:
@@ -2069,7 +2069,21 @@ def Test_vim9_comment()
|
||||
CheckScriptSuccess([
|
||||
'vim9script',
|
||||
'# something',
|
||||
'#something',
|
||||
'#{something',
|
||||
])
|
||||
|
||||
split Xfile
|
||||
CheckScriptSuccess([
|
||||
'vim9script',
|
||||
'edit #something',
|
||||
])
|
||||
CheckScriptSuccess([
|
||||
'vim9script',
|
||||
'edit #{something',
|
||||
])
|
||||
close
|
||||
|
||||
CheckScriptFailure([
|
||||
'vim9script',
|
||||
':# something',
|
||||
|
Reference in New Issue
Block a user