fix(command_definition): default to nil on empty <f-args> (#1142)
This commit is contained in:
@@ -111,4 +111,4 @@ function! s:telescope_complete(arg,line,pos)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Telescope Commands with complete
|
" 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>}))
|
||||||
|
|||||||
Reference in New Issue
Block a user