mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 01:21:48 +00:00
vim-patch:9.1.0329: String interpolation fails for Dict type (#28335)
Problem: String interpolation fails for Dict type
Solution: Support Dict data type properly, also support :put =Dict
(without having to convert it to string() first)
(Yegappan Lakshmanan)
fixes: vim/vim#14529
closes: vim/vim#14541
f01493c550
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
@@ -1983,8 +1983,8 @@ func Test_edit_ctrl_r_failed()
|
||||
|
||||
let buf = RunVimInTerminal('', #{rows: 6, cols: 60})
|
||||
|
||||
" trying to insert a dictionary produces an error
|
||||
call term_sendkeys(buf, "i\<C-R>={}\<CR>")
|
||||
" trying to insert a blob produces an error
|
||||
call term_sendkeys(buf, "i\<C-R>=0z\<CR>")
|
||||
|
||||
" ending Insert mode should put the cursor back on the ':'
|
||||
call term_sendkeys(buf, ":\<Esc>")
|
||||
|
||||
Reference in New Issue
Block a user