summaryrefslogtreecommitdiffstats
path: root/lua/user/autopairs.lua
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-03-31 15:12:02 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2022-04-07 15:30:27 +0200
commit5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065 (patch)
treeaca0ef590dfc37c227bdcc861807dc0023340b3f /lua/user/autopairs.lua
parent8f3501838060d37affac7025d1ea06450fa7de85 (diff)
downloadvim-5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065.zip
vim-5ecf3c9ae0bd28c498d6a2c7e56b6679d909c065.tar.gz
add init failed msg
Diffstat (limited to 'lua/user/autopairs.lua')
-rw-r--r--lua/user/autopairs.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/user/autopairs.lua b/lua/user/autopairs.lua
index 577e571..96be89e 100644
--- a/lua/user/autopairs.lua
+++ b/lua/user/autopairs.lua
@@ -1,6 +1,7 @@
-- Setup nvim-cmp.
local status_ok, npairs = pcall(require, "nvim-autopairs")
if not status_ok then
+ print "nvim-autopairs init failed"
return
end