Error handling when missing packer compiled

This commit is contained in:
Price Hiller 2022-01-15 19:19:28 -06:00
parent 077afae2f7
commit ba022e923f

View File

@ -1,2 +1,5 @@
require("plugins.plugins")
require("packer_compiled")
local found, _ = pcall(require, "packer_compiled")
if not found then
vim.notify("Unable to locate packer_compiled!")
end