diff options
| author | Jonathan Teran <jonathan.nerat@gmail.com> | 2021-08-21 07:45:11 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-21 11:45:11 +0100 |
| commit | 81ab591180e22150b00d464008c4cd82c3e8d86d (patch) | |
| tree | 7ec4112c7e624bb877c2a8f950e9622ff7ff664d /plugin | |
| parent | fbc983eb9166fdc15e5f63ec6adf043fb0124660 (diff) | |
fix(command_definition): default to nil on empty <f-args> (#1142)
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/telescope.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/telescope.vim b/plugin/telescope.vim index bb0228a..dc727ff 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=* -range -complete=custom,s:telescope_complete Telescope lua require('telescope.command').load_command(<line1>, <line2>, <count>, <f-args>) +command! -nargs=* -range -complete=custom,s:telescope_complete Telescope lua require('telescope.command').load_command(<line1>, <line2>, <count>, unpack({<f-args>})) |
