comparison src/testdir/test_vim9_script.vim @ 23179:821701ecbde7 v8.2.2135

patch 8.2.2135: Vim9: #{ still seen as start of dict in some places Commit: https://github.com/vim/vim/commit/93f82cbee515e13b564f51ddcd5e3d6694358ba4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 12 21:25:56 2020 +0100 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 https://github.com/vim/vim/issues/7456)
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Dec 2020 21:30:03 +0100
parents c923f1888a77
children 4d5d12138b36
comparison
equal deleted inserted replaced
23178:97d5bc8b35a4 23179:821701ecbde7
2067 2067
2068 def Test_vim9_comment() 2068 def Test_vim9_comment()
2069 CheckScriptSuccess([ 2069 CheckScriptSuccess([
2070 'vim9script', 2070 'vim9script',
2071 '# something', 2071 '# something',
2072 ]) 2072 '#something',
2073 '#{something',
2074 ])
2075
2076 split Xfile
2077 CheckScriptSuccess([
2078 'vim9script',
2079 'edit #something',
2080 ])
2081 CheckScriptSuccess([
2082 'vim9script',
2083 'edit #{something',
2084 ])
2085 close
2086
2073 CheckScriptFailure([ 2087 CheckScriptFailure([
2074 'vim9script', 2088 'vim9script',
2075 ':# something', 2089 ':# something',
2076 ], 'E488:') 2090 ], 'E488:')
2077 CheckScriptFailure([ 2091 CheckScriptFailure([