🐛 fix(nvim): image.nvim now installs the luarock dependency correctly
This commit is contained in:
parent
23e5a30969
commit
3b4e1963ed
1 changed files with 4 additions and 3 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue