From 348cd048b5cd64b7bc5908e7e91fd61f46379272 Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Tue, 16 Jan 2024 12:52:40 -0300 Subject: [PATCH] add image support --- lua/custom/plugins/image.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/custom/plugins/image.lua 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, +}