diff options
Diffstat (limited to 'lua/user/plugins.lua')
| -rw-r--r-- | lua/user/plugins.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index 3129e1b..b4947d1 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -14,8 +14,9 @@ vim.cmd([[ augroup end ]]) -local status, packer = pcall(require, "packer") -if not status then +local packer_status, packer = pcall(require, "packer") +if not packer_status then + print("plugins.lua: loading packer failed") return end @@ -39,6 +40,7 @@ return packer.startup(function(use) use "hrsh7th/cmp-path" use "hrsh7th/cmp-cmdline" use "hrsh7th/cmp-nvim-lua" + use "L3MON4D3/LuaSnip" -- LSP, linters & formatters |
