diff options
Diffstat (limited to 'lua/user/cmp.lua')
| -rw-r--r-- | lua/user/cmp.lua | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua index 39bde60..bb475a3 100644 --- a/lua/user/cmp.lua +++ b/lua/user/cmp.lua @@ -1,10 +1,12 @@ -local cmp_status_ok, cmp = pcall(require, "cmp") -if not cmp_status_ok then +local cmp_status, cmp = pcall(require, "cmp") +if not cmp_status then + print("cmp.lua: loading cmp failed") return end -local snip_status_ok, luasnip = pcall(require, "luasnip") -if not snip_status_ok then +local luasnip_status, luasnip = pcall(require, "luasnip") +if not luasnip_status then + print("cmp.lua: loading luasnip failed") return end @@ -42,7 +44,6 @@ local kind_icons = { Operator = "", TypeParameter = "", } --- find more here: https://www.nerdfonts.com/cheat-sheet cmp.setup { snippet = { |
