diff --git a/lua/custom/plugins/image.lua b/lua/custom/plugins/image.lua new file mode 100644 index 0000000..e528482 --- /dev/null +++ b/lua/custom/plugins/image.lua @@ -0,0 +1,12 @@ +return { + "3rd/image.nvim", + config = function() + package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?/init.lua;" + package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?.lua;" + + require("image").setup({ + backend = "ueberzug", + tmux_show_only_in_active_indow = true, + }) + end, +}