mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2026-02-04 06:12:01 +00:00
Use vim.input's second form
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user