Lines Matching refs:bufnr
46 \ 'call prompt_setcallback(bufnr(""), function("TextEntered"))',
47 \ 'eval bufnr("")->prompt_setprompt("cmd: ")',
112 eval bufnr('')->prompt_setcallback(function('MyPromptCallback', [{}]))
113 eval bufnr('')->prompt_setinterrupt(function('MyPromptInterrupt', [{}]))
119 call assert_fails("call prompt_setcallback(bufnr(), [])", 'E921:')
121 call assert_fails("call prompt_setinterrupt(bufnr(), [])", 'E921:')
167 call assert_equal('', prompt_getprompt(bufnr('%')))
168 let another_buffer = bufnr('%')
172 call prompt_setprompt( bufnr( '%' ), 'This is a test: ' )
175 call prompt_setprompt( bufnr( '%' ), '' )
178 call prompt_setprompt( bufnr( '%' ), 'Another: ' )
180 let another = bufnr('%')
189 call assert_equal('', prompt_getprompt( bufnr('$') + 1))
207 call prompt_setprompt( bufnr(), 'cmd:' )