Update and clean config

This commit is contained in:
Alessandro
2024-10-11 12:04:59 +02:00
parent 72d4f759b7
commit b4b679a7e5
6 changed files with 30 additions and 43 deletions

View File

@@ -0,0 +1,12 @@
return {
"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" },
event = { "BufRead *.png", "BufRead *.jpg", "BufRead *.jpeg", "BufRead *.gif", "BufRead *.wepb", "BufRead *.avif" },
}