fix(nvim): pcall edit cmd in image.nvim
This commit is contained in:
parent
49ebd00158
commit
21ab0c1cd5
@ -16,7 +16,7 @@ return {
|
|||||||
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/?/init.lua;"
|
||||||
package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?.lua;"
|
package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?.lua;"
|
||||||
require("image").setup({})
|
require("image").setup({})
|
||||||
vim.cmd.edit()
|
pcall(vim.cmd.edit)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user