summaryrefslogtreecommitdiffstats
path: root/lua/user/core/cmp.lua
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-11-14 03:47:47 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-11-14 03:47:47 +0100
commit2ad77ac13f854b9825ea3317da26130d265c134e (patch)
tree0a96aca375d7b5970fca56f4db2c95f98546b8ef /lua/user/core/cmp.lua
parentd89f770427c8baaeaef1ef99cf9046b9af872f86 (diff)
downloadvim-2ad77ac13f854b9825ea3317da26130d265c134e.zip
vim-2ad77ac13f854b9825ea3317da26130d265c134e.tar.gz
add luasnip init failed msg
Diffstat (limited to 'lua/user/core/cmp.lua')
-rw-r--r--lua/user/core/cmp.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/user/core/cmp.lua b/lua/user/core/cmp.lua
index ff6a97e..2266fbc 100644
--- a/lua/user/core/cmp.lua
+++ b/lua/user/core/cmp.lua
@@ -6,6 +6,7 @@ end
local snip_status_ok, luasnip = pcall(require, "luasnip")
if not snip_status_ok then
+ print "luasnip init failed"
return
end
require("luasnip/loaders/from_vscode").lazy_load()