aboutsummaryrefslogtreecommitdiff
path: root/nvim/.config/nvim/lua/custom/plugins/cmp.lua
blob: 83fb5a2c96834ce26518c920e84ea33cf33dca5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
return {
  {
    "hrsh7th/nvim-cmp",
    event = "InsertEnter",
    priority = 100,
    dependencies = {
      "onsails/lspkind.nvim",
      "hrsh7th/cmp-nvim-lsp",
      "hrsh7th/cmp-path",
      "hrsh7th/cmp-buffer",
      {
        "L3MON4D3/LuaSnip",
        build = "make install_jsregexp",
        dependencies = { "rafamadriz/friendly-snippets" },
      },
      "saadparwaiz1/cmp_luasnip",
    },
    config = function()
      require "custom.cmp"
    end,
  },
}