]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: update nvim-cmp and list dependencies
authorSamir Benmendil <me@rmz.io>
Thu, 4 Apr 2024 15:07:29 +0000 (16:07 +0100)
committerSamir Benmendil <me@rmz.io>
Thu, 4 Apr 2024 15:07:29 +0000 (16:07 +0100)
nvim/lua/plugins/coding.lua

index 324dc4ea1b71758902b3c074bcc3ab5f0e942658..3dac23b32d3fc6f575f5c168bdd649d184ed5196 100644 (file)
@@ -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()