mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-16 17:50:52 +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 = {
|
default = {
|
||||||
img_dir = {"%:p:h", "_"},
|
img_dir = {"%:p:h", "_"},
|
||||||
img_dir_txt = "_",
|
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