Add image support

This commit is contained in:
Alessandro
2024-09-24 10:29:33 +02:00
parent 9f4b4c111d
commit 30874243c9
2 changed files with 16 additions and 4 deletions

View File

@@ -27,8 +27,19 @@ return {
"nvim-tree/nvim-tree.lua",
opts = require "configs.nvim-tree",
},
{
"hrsh7th/nvim-cmp",
opts = require("configs.cmp"),
},
{
"hrsh7th/nvim-cmp",
opts = require "configs.cmp",
},
{
"3rd/image.nvim",
config = function()
require("image").setup {
backend = "ueberzug",
}
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"
end,
ft = { "markdown", "" },
},
}