refactor(nvim): make imgclip store relative to cur file

This commit is contained in:
Price Hiller 2024-11-06 15:52:29 -06:00
parent 2e3d8e1a85
commit ef7fc52937
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -1,7 +1,6 @@
return {
{
"HakonHarnes/img-clip.nvim",
opts = {},
cmd = {
"PasteImage",
"ImgClipDebug",
@ -10,5 +9,10 @@ return {
keys = {
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste Image" },
},
config = function()
require("img-clip").setup({
relative_to_current_file = true,
})
end,
},
}