summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/user/plugins.lua
blob: 755f0e926287527abace44d2aa34f757b1af2639 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
require('packer').startup(function()
    use { 'wbthomason/packer.nvim' } -- Let packer manage itself
    use { 'tpope/vim-commentary' }
    use { 'tpope/vim-surround' }
    use { 'tpope/vim-eunuch' }
    use { 'tpope/vim-sleuth' }

    use {
        'dracula/vim',
        as = 'dracula',
        config = function()
            require('user.plugins.dracula')
        end
    }
    use {
        'windwp/nvim-autopairs',
        config = function()
            require('nvim-autopairs').setup()
        end
    }

    use {
        'windwp/nvim-ts-autotag',
        config = function()
            require('nvim-ts-autotag').setup()
        end
    }

    use {
        'kyazdani42/nvim-tree.lua',
        requires = 'kyazdani42/nvim-web-devicons',
        config = function()
            require('user.plugins.nvim-tree')
        end
    }
    use {
        'nvim-treesitter/nvim-treesitter',
        run = ':TSUpdate',
        requires = {
            'nvim-treesitter/playground',
            'nvim-treesitter/nvim-treesitter-textobjects',
            'lewis6991/spellsitter.nvim',
            'JoosepAlviste/nvim-ts-context-commentstring',
        },
        config = function()
            require('spellsitter').setup()
            require('user.plugins.treesitter')
        end
    }

    use {
        'neovim/nvim-lspconfig',
        requires = {
            'b0o/schemastore.nvim',
            'folke/lsp-colors.nvim',
            'weilbith/nvim-code-action-menu',
        },
        config = function()
            require('user.plugins.lspconfig')
        end
    }
    use {
        'hrsh7th/nvim-cmp',
        requires = {
            'hrsh7th/cmp-nvim-lsp',
            'hrsh7th/cmp-buffer',
            'jessarcher/cmp-path',
            'hrsh7th/cmp-nvim-lua',
            'L3MON4D3/LuaSnip',
            'onsails/lspkind-nvim',
            'hrsh7th/cmp-nvim-lsp-signature-help',
        },
        config = function()
            require('user.plugins.cmp')
        end
    }
    use {
        'nvim-telescope/telescope.nvim',
        requires = {
            'nvim-lua/popup.nvim',
            'nvim-lua/plenary.nvim',
            'kyazdani42/nvim/nvim-web-devicons',
        },
        config = function()
            require('user.plugins.telescope')
        end
    }
    use {
        'nvim-lualine/lualine.nvim',
        requires = 'kyazdani42/nvim-web-devicons',
        config = function()
            require('user.plugins.lualine')
        end
    }
    use {
        'L3MON4D3/LuaSnip',
        config = function()
            require('user.plugins.luasnip')
        end
    }
end)