mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
vim-patch:9.0.0409: #{g:x} was seen as a curly-braces expression
Problem: #{g:x} was seen as a curly-braces expression.
Solution: Do never see #{} as a curly-braces expression. (closes vim/vim#11075)
7c7e1e9b98
This commit is contained in:
@@ -104,7 +104,7 @@ describe(':source', function()
|
||||
eq("0zBEEFCAFE", meths.exec('echo d', true))
|
||||
|
||||
exec('set cpoptions+=C')
|
||||
eq('Vim(let):E15: Invalid expression: #{', exc_exec('source'))
|
||||
eq('Vim(let):E723: Missing end of Dictionary \'}\': ', exc_exec('source'))
|
||||
end)
|
||||
|
||||
it('selection in current buffer', function()
|
||||
@@ -138,7 +138,7 @@ describe(':source', function()
|
||||
eq('Vim(echo):E117: Unknown function: s:C', exc_exec('echo D()'))
|
||||
|
||||
exec('set cpoptions+=C')
|
||||
eq('Vim(let):E15: Invalid expression: #{', exc_exec("'<,'>source"))
|
||||
eq('Vim(let):E723: Missing end of Dictionary \'}\': ', exc_exec("'<,'>source"))
|
||||
end)
|
||||
|
||||
it('does not break if current buffer is modified while sourced', function()
|
||||
|
Reference in New Issue
Block a user