summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/completion.lua
blob: 5e0f2ef9f07d1ec24a11bdefc9f2d90631335bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
return {
    'hrsh7th/nvim-cmp',
    lazy = false,
    priority = 100,
    dependencies = {
        -- 'onsails/lspkind.nvim',
        -- 'hrsh7th/cmp-path',
        -- 'hrsh7th/cmp-buffer',
        'hrsh7th/cmp-nvim-lsp', -- lsp source for nvim-cmp
        'saadparwaiz1/cmp_luasnip', -- snippets source for nvim-cmp
        { 'L3MON4D3/LuaSnip', build = 'make install_jsregexp' }, -- snippets plugin
    },
    config = function()
        require('custom.completion')
    end,
}