🐛 fix(nvim): image.nvim now installs the luarock dependency correctly

This commit is contained in:
Sergio Laín 2023-12-28 13:28:51 +01:00
parent 23e5a30969
commit 3b4e1963ed
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -1,6 +1,3 @@
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;"
return { return {
{ {
"edluffy/hologram.nvim", -- TODO: Need to investigate this "edluffy/hologram.nvim", -- TODO: Need to investigate this
@ -12,6 +9,10 @@ return {
{ {
"3rd/image.nvim", "3rd/image.nvim",
event = "LazyFile", 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" },
opts = { opts = {
backend = "kitty", backend = "kitty",