diff options
| author | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-25 01:17:08 +0100 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-25 01:17:08 +0100 |
| commit | 336b2de4b36ad9eafdef6c5e882bc08a66d7c959 (patch) | |
| tree | 838df5f79e13b8b598f81113cf83d9c98f9a405f /lua/user/plugins.lua | |
| parent | bbe5d2d967a1a77328c71e11823bb57d56ee044c (diff) | |
pcall now prints error, fixed cmp luasnip
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 |
