aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/plugins/completion.lua
blob: 94a54636eecdae95061db77fe896ecbed4f1ee3e (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
39
return {
  {
    "saghen/blink.compat",
    version = "2.*",
    opts = {}
  },
  {
    "saghen/blink.cmp",
    lazy = false,
    version = "1.*",
    opts = {
      keymap = { preset = "default" },
      appearance = {
        nerd_font_variant = "normal",
      },
      completion = {
        documentation = {
          auto_show = true,
          auto_show_delay_ms = 150,
        },
      },
      sources = {
        default = { "lsp", "path", "vimtex", "crates", "buffer" },
        providers = {
          vimtex = {
            name = "vimtex",
            module = "blink.compat.source",
          },
          crates = {
            name = "crates",
            module = "blink.compat.source",
          },
        },
      },
      cmdline = { enabled = false },
      signature = { enabled = true },
    },
  },
}