mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2025-10-21 19:50:34 +00:00
Use vim.input's second form
This commit is contained in:
commit
c06f581503
@ -16,7 +16,10 @@ M.shell_handler = function(command, editable)
|
||||
end
|
||||
return function(_)
|
||||
if editable then
|
||||
command = vim.fn.input('Command: ', command)
|
||||
command = vim.fn.input {
|
||||
prompt = 'Command: ',
|
||||
default = command,
|
||||
}
|
||||
end
|
||||
|
||||
local output_buffer = utils.create_buffer()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user