From 02f2a2bce41bbd63fd2262fc5002fd9ea7f2f202 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 26 Jul 2023 10:00:42 -0400 Subject: [PATCH] neovim(clipboard-image-nvim): Change image directory --- home/neovim.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/home/neovim.nix b/home/neovim.nix index d0b20863..32e43af5 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -346,6 +346,18 @@ in type = "lua"; config = ''require("nvim-autopairs").setup {}''; } + { + plugin = clipboard-image-nvim; + type = "lua"; + config = /* lua */ '' + require("clipboard-image").setup { + default = { + img_dir = {"%:p:h", "_"}, + img_dir_txt = "_", + } + } + ''; + } { plugin = auto-save-nvim; type = "lua"; @@ -404,7 +416,6 @@ in ''; } fzf-vim - clipboard-image-nvim vim-caddyfile vim-graphql vim-pug