summary refs log tree commit diff
path: root/.vim/lua/internal/plugins/cmp.lua
blob: 086e1acece12f2467e9b6ab1fd929d30d772273e (plain) (blame)
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
return {
  {
    enabled = false,
    -- 'hrsh7th/nvim-cmp',
    'iguanacucumber/magazine.nvim', -- perf improvements
    name = 'nvim-cmp',
    lazy = false,
    -- event = {'InsertEnter', 'CmdlineEnter' },
    priority = 100,
    dependencies = {
      'hrsh7th/cmp-buffer',
      'hrsh7th/cmp-nvim-lsp',
      'https://codeberg.org/FelipeLema/cmp-async-path',
      -- 'hrsh7th/cmp-nvim-lua',
      'hrsh7th/cmp-nvim-lsp-signature-help', -- used to provide function signature completion
      'hrsh7th/cmp-cmdline',
      'dmitmel/cmp-cmdline-history',
      'hrsh7th/cmp-nvim-lsp-document-symbol', -- used by cmdline completion
      -- 'f3fora/cmp-spell',

      { 'L3MON4D3/LuaSnip', run = 'make install_jsregexp' },
      'saadparwaiz1/cmp_luasnip',

      'onsails/lspkind.nvim',
    },
    config = function()
      require('internal.snippets')
      require('internal.completion')
    end,
  },
}