mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
neovim(clipboard-image): Don't prompt for file name
Fixes an issue where this would occasionally break.
This commit is contained in:
parent
0c1669e8db
commit
e6fa09220e
@ -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,
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user