aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/completition.lua
blob: 173cb540b250caa8d4c4f61a5a5c9bd82faec2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
return {
  "hrsh7th/nvim-cmp",
  dependencies = {
    "hrsh7th/cmp-buffer",
    "hrsh7th/cmp-path",
    "hrsh7th/cmp-nvim-lua",
    "hrsh7th/cmp-nvim-lsp",
    "hrsh7th/cmp-cmdline",
    "hrsh7th/cmp-git",
    "saadparwaiz1/cmp_luasnip",
    "onsails/lspkind-nvim",
    { "L3MON4D3/LuaSnip", version = "v1.*" },
    "windwp/nvim-autopairs",
    {
      "zbirenbaum/copilot-cmp",
      dependencies = {
        "zbirenbaum/copilot.lua",
        cmd = { "Copilot" },
        event = { "VeryLazy" },
        opts = { suggestion = { enabled = false }, panel = { enabled = false } },
      },
      config = true,
    },
    {
      "uga-rosa/cmp-dictionary",
      config = function()
        local dict_fl = { ["*"] = { "/usr/share/dict/words" }, ft = { foo = { "./../../spell/dict_es_en.dict" } } }
        local dict = require "cmp_dictionary"
        dict.setup { paths = dict_fl["*"], exact_length = 3, first_case_insensitive = false }
      end,
    },
    { "Jezda1337/nvim-html-css" },
  },
  event = "VeryLazy",
  config = function()
    require "pi.completition"
  end,
}