neovim(clipboard-image): Don't prompt for file name

Fixes an issue where this would occasionally break.
This commit is contained in:
Donovan Glover 2023-08-22 14:53:05 -04:00
parent 0c1669e8db
commit e6fa09220e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -353,12 +353,6 @@ in
default = {
img_dir = {"%:p:h", "_"},
img_dir_txt = "_",
img_name = function()
vim.fn.inputsave()
local name = vim.fn.input('Name: ')
vim.fn.inputrestore()
return os.date("%Y-%m-%d-") + name
end,
}
}
'';