summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/completion.lua
blob: a1835ad70a3c27440092a02df220837e67a0db76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
return {
    'hrsh7th/nvim-cmp',
    lazy = false,
    priority = 100,
    dependencies = {
        'onsails/lspkind.nvim', -- icons for completion type
        'hrsh7th/cmp-path', -- complete filepaths
        '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,
}