summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/plugins.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index ec7545b..996a64e 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -115,7 +115,7 @@ local plugins = {
{
"saadparwaiz1/cmp_luasnip",
- after = "LuaSnip",
+ after = { "LuaSnip", "nvim-cmp" }
},
{
@@ -125,6 +125,7 @@ local plugins = {
{
"windwp/nvim-autopairs",
+ -- event = { "BufRead" , "BufNewFile" },
after = "nvim-cmp",
config = function()
require('nvim-autopairs').setup{}