Allow range parameters on command parser (#1123)

This commit is contained in:
Jan Steinke
2021-08-19 19:11:22 +02:00
committed by GitHub
parent 161a2e9f61
commit 615efe666b
3 changed files with 8 additions and 4 deletions

View File

@@ -111,4 +111,4 @@ function! s:telescope_complete(arg,line,pos)
endfunction
" Telescope Commands with complete
command! -nargs=* -complete=custom,s:telescope_complete Telescope lua require('telescope.command').load_command(<f-args>)
command! -nargs=* -range -complete=custom,s:telescope_complete Telescope lua require('telescope.command').load_command(<line1>, <line2>, <count>, <f-args>)