From e6fa09220e3692df7c4ba946601aae18bec18abf Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 22 Aug 2023 14:53:05 -0400 Subject: [PATCH] neovim(clipboard-image): Don't prompt for file name Fixes an issue where this would occasionally break. --- home/neovim.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index 48273056..6df15cb5 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -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, } } '';