mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.1326: Vim9: skipping over white space after list
Problem: Vim9: skipping over white space after list. Solution: Do not skip white space, a following [] would be misinterpreted. (closes #6552) Fix a few side effects.
This commit is contained in:
@@ -1355,7 +1355,7 @@ func Test_input_func()
|
||||
func! Tcomplete(arglead, cmdline, pos)
|
||||
return "item1\nitem2\nitem3"
|
||||
endfunc
|
||||
call feedkeys(":let c = input('Q? ', '' , 'custom,Tcomplete')\<CR>"
|
||||
call feedkeys(":let c = input('Q? ', '', 'custom,Tcomplete')\<CR>"
|
||||
\ .. "\<C-A>\<CR>", 'xt')
|
||||
delfunc Tcomplete
|
||||
call assert_equal('item1 item2 item3', c)
|
||||
|
Reference in New Issue
Block a user