summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2022-03-13 18:28:29 +0100
committeradamstuck <adam.moloney.stuck@gmail.com>2022-03-13 18:28:29 +0100
commitb2f59d623f7688696787033e810a7d8d10ed92bc (patch)
tree125091c8507bc96e97777325c7fc2ec26aaa3e13 /.config/nvim/lua
parent7b46477a3ddd6ce80736cc058d2f7f3b58fdb966 (diff)
nvim: fixed load order issue
Diffstat (limited to '.config/nvim/lua')
-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{}