summaryrefslogtreecommitdiff
path: root/plugin/telescope.vim
diff options
context:
space:
mode:
authorJan Steinke <jan.steinke@gmail.com>2021-08-19 19:11:22 +0200
committerGitHub <noreply@github.com>2021-08-19 19:11:22 +0200
commit615efe666be25117199ec8c9d475b2ef86ac7015 (patch)
tree805c2c6d18843632ee7835bc548755aaec3804bd /plugin/telescope.vim
parent161a2e9f61f13c84cc404177a5f5c12e1329666f (diff)
Allow range parameters on command parser (#1123)
Diffstat (limited to 'plugin/telescope.vim')
-rw-r--r--plugin/telescope.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/telescope.vim b/plugin/telescope.vim
index 011b6e3..bb0228a 100644
--- a/plugin/telescope.vim
+++ b/plugin/telescope.vim
@@ -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>)