nvim/lua/custom/plugins/image.lua

18 lines
449 B
Lua
Raw Normal View History

laptop = os.getenv("LAPTOP")
if laptop == "yes" then
return {}
end
2024-01-16 12:52:40 -03:00
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,
}