refactor(nvim): make imgclip store relative to cur file
This commit is contained in:
parent
2e3d8e1a85
commit
ef7fc52937
@ -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,
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user