From 04bbeac02be4f461dc2b0947c874e4744d4379d2 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 10 Dec 2021 17:10:40 -0800 Subject: [PATCH] Fix cmp loading order --- neovim/lua/plugins.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index f85a226..104a913 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -215,11 +215,11 @@ return require('packer').startup(function(use) "hrsh7th/nvim-cmp", config = function() require("plugins.completion").config_cmp() end, requires = { - "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-buffer", - "f3fora/cmp-spell", + { "hrsh7th/cmp-nvim-lsp", after = "nvim-cmp" }, + { "hrsh7th/cmp-buffer", after = "nvim-cmp" }, + { "f3fora/cmp-spell", after = "nvim-cmp" }, + { "saadparwaiz1/cmp_luasnip", after = "nvim-cmp" }, "L3MON4D3/LuaSnip", - "saadparwaiz1/cmp_luasnip", }, event = "InsertEnter *", }