fix(command_definition): default to nil on empty <f-args> (#1142)

This commit is contained in:
Jonathan Teran
2021-08-21 07:45:11 -03:00
committed by GitHub
parent fbc983eb91
commit 81ab591180

View File

@@ -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>}))