From fd9707fd4c3e3d4bef6524a259a2b528ae75e442 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 4 Apr 2024 16:07:29 +0100 Subject: [PATCH] nvim: update nvim-cmp and list dependencies --- nvim/lua/plugins/coding.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nvim/lua/plugins/coding.lua b/nvim/lua/plugins/coding.lua index 324dc4e..3dac23b 100644 --- a/nvim/lua/plugins/coding.lua +++ b/nvim/lua/plugins/coding.lua @@ -24,6 +24,14 @@ return { -- auto completion { "hrsh7th/nvim-cmp", + version = false, -- last release is way too old + event = "InsertEnter", + dependencies = { + "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-buffer", + "hrsh7th/cmp-path", + "saadparwaiz1/cmp_luasnip", + }, ---@param opts cmp.ConfigSchema opts = function(_, opts) local has_words_before = function() -- 2.48.1