summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/TODO-completion.lua
blob: 3f0ba3e7d76e306aca63d35fa0c6cd20bbc1161b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
        },
        -- TODO: Move to setup opts
        config = function()
            require('custom.completion')
        end,
    },
}