From 927a57452c3a9c1d7c8632cae1a580f2df9cc908 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 21 Nov 2021 15:45:34 +0800 Subject: update packer-related instructions --- lua/plugins.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 30d3254..a406509 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -328,4 +328,7 @@ require("packer").startup({ }, }) -require('packer_compiled') +local status, _ = pcall(require, 'packer_compiled') +if not status then + vim.notify("You should run command PackerCompile") +end -- cgit v1.2.3