Lines Matching refs:confirm
1934 " Test confirm({msg} [, {choices} [, {default} [, {type}]]])
1940 let a = confirm('Press O to proceed')
1944 let a = 'Are you sure?'->confirm("&Yes\n&No")
1948 let a = confirm('Are you sure?', "&Yes\n&No")
1951 " confirm() should return 0 when pressing CTRL-C.
1953 let a = confirm('Are you sure?', "&Yes\n&No")
1959 let a = confirm('Are you sure?', "&Yes\n&No")
1964 let a = confirm('Are you sure?', "&Yes\n&No")
1968 let a = confirm('Are you sure?', "&Yes\n&No", 2)
1972 let a = confirm('Are you sure?', "&Yes\n&No", 0)
1978 let a = confirm('Are you sure?', "&Yes\n&No\n", 1, type)
1982 call assert_fails('call confirm([])', 'E730:')
1983 call assert_fails('call confirm("Are you sure?", [])', 'E730:')
1984 call assert_fails('call confirm("Are you sure?", "&Yes\n&No\n", [])', 'E745:')
1985 call assert_fails('call confirm("Are you sure?", "&Yes\n&No\n", 0, [])', 'E730:')