diff --git a/dots/.config/nvim/lua/plugins/configs/image.lua b/dots/.config/nvim/lua/plugins/configs/image.lua index 78054565..076cf5f9 100644 --- a/dots/.config/nvim/lua/plugins/configs/image.lua +++ b/dots/.config/nvim/lua/plugins/configs/image.lua @@ -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/?.lua;" require("image").setup({}) - vim.cmd.edit() + pcall(vim.cmd.edit) end, }, }