📦️ deps(nvim): add luarocks.nvim to the image.nvim extra

This commit is contained in:
Sergio Laín 2024-04-12 21:28:08 +02:00
parent 9d5159b8ac
commit decc55fb67
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -1,11 +1,16 @@
return {
"3rd/image.nvim",
event = "LazyFile",
init = 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;"
end,
dependencies = { "nvim-treesitter/nvim-treesitter" },
dependencies = {
{ "nvim-treesitter/nvim-treesitter" },
{
"vhyrro/luarocks.nvim",
priority = 1000, -- this plugin needs to run before anything else
opts = {
rocks = { "magick" },
},
},
},
opts = {
backend = "kitty",
integrations = {