Lines Matching refs:nargs

9   command! -nargs=* MyCmd let g:mods = '<mods>'
100 command! -nargs=* MyQCmd let g:mods .= '<q-mods> '
115 command -nargs=* TestFArgs call SaveCmdArgs(<f-args>)
136 command -nargs=* TestQArgs call SaveCmdArgs(<q-args>)
157 command -nargs=* -reg TestRegArg call SaveCmdArgs("<reg>", "<register>")
169 command -nargs=* TestNoArg call SaveCmdArgs("<args>", "<>", "<x>", "<lt>")
275 call assert_fails('com! -nargs=x DoCmd :', 'E176:')
283 com! -nargs=0 -complete=file DoCmd :
294 com! -nargs=0 -complete=file DoCmd :
298 com! -nargs=0 DoCmd :
301 com! -nargs=1 DoCmd :
304 com! -nargs=+ DoCmd :
322 call assert_equal('"com -addr bang bar buffer complete count keepscript nargs range register', @:)
324 call feedkeys(":com -nargs=0 -\<C-A>\<C-B>\"\<CR>", 'tx')
325 …call assert_equal('"com -nargs=0 -addr bang bar buffer complete count keepscript nargs range regis…
327 call feedkeys(":com -nargs=\<C-A>\<C-B>\"\<CR>", 'tx')
328 call assert_equal('"com -nargs=* + 0 1 ?', @:)
361 com! -nargs=1 -complete=behave DoCmd :
365 com! -nargs=* -complete=custom,CustomComplete DoCmd :
369 com! -nargs=? -complete=customlist,CustomCompleteList DoCmd :
373 com! -nargs=+ -complete=custom,CustomCompleteList DoCmd :
376 com! -nargs=+ -complete=customlist,CustomComp DoCmd :
380 com! -nargs=? -complete=custom, DoCmd
384 com! -nargs=? -complete=custom,min DoCmd
396 command! -nargs=* -complete=custom,CallExecute DoExec :
519 command! -nargs=1 -complete=arglist DoCmd :
523 command! -nargs=* -complete=augroup DoCmd :
527 command! -nargs=? -complete=custom,CustomComplete DoCmd :
531 command! -nargs=+ -complete=customlist,CustomComplete DoCmd :
537 command! -nargs=0 DoCmd :
541 command! -nargs=1 DoCmd :
545 command! -nargs=* DoCmd :
549 command! -nargs=? DoCmd :
553 command! -nargs=+ DoCmd :
579 …command! -bang -bar -register -buffer -nargs=+ -complete=environment -addr=windows -count=3 DoCmd :
609 command -nargs=* -complete=customlist,T1 TCmd1
618 command -nargs=* -complete=customlist,T2 TCmd2