diff options
| author | jdhao <jdhao@hotmail.com> | 2021-11-21 15:45:34 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-11-21 15:45:34 +0800 |
| commit | 927a57452c3a9c1d7c8632cae1a580f2df9cc908 (patch) | |
| tree | c054067a2e4b63170ed8ba00aa7ac69a2db608eb /lua | |
| parent | af17364730f73f30442c33921b2e55f9a3147f24 (diff) | |
update packer-related instructions
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins.lua | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
