summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
blob: 8ddca611bd666a520c9d00d524d80acb20f3e942 (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
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({
        "git",
        "clone",
        "--filter=blob:none",
        "https://github.com/folke/lazy.nvim.git",
        "--branch=stable", -- latest stable release
        lazypath,
    })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
    "nvim-tree/nvim-web-devicons",
    "mbbill/undotree",
    "williamboman/mason.nvim",
    "williamboman/mason-lspconfig.nvim",
    "neovim/nvim-lspconfig",
    'hrsh7th/nvim-cmp',
    'hrsh7th/cmp-nvim-lsp',
    'hrsh7th/cmp-buffer',
    'hrsh7th/cmp-path',
    'hrsh7th/cmp-cmdline',
    'saadparwaiz1/cmp_luasnip',
    'feline-nvim/feline.nvim',
    'lervag/vimtex',
    'MeanderingProgrammer/render-markdown.nvim',
    'sitiom/nvim-numbertoggle',
    'folke/twilight.nvim',
    'lewis6991/gitsigns.nvim',
    { 'akinsho/toggleterm.nvim', version = "*", config = true },
    { 'echasnovski/mini.files', version = '*' },
    { 'echasnovski/mini.trailspace', version = '*' },
    { 'echasnovski/mini.move', version = '*' },
    { 'numToStr/Comment.nvim', lazy = false, },
    {
        "goolord/alpha-nvim",
        dependencies = { 'nvim-tree/nvim-web-devicons' },
        config = function()
          local startify = require("alpha.themes.startify")
          startify.file_icons.provider = "devicons"
          require("alpha").setup(
            startify.config
          )
        end,
    },
    {
        'nvim-telescope/telescope.nvim', branch = '0.1.x',
        dependencies = { 'nvim-lua/plenary.nvim' }
    },
    {
		"nvim-treesitter/nvim-treesitter",
		build = function()
			require("nvim-treesitter.install").update({ with_sync = true })
		end,
	},
    {
        "L3MON4D3/LuaSnip",
        version = "v2.*",
        build = "make install_jsregexp"
    },
    {
        "smoka7/hop.nvim",
        version = "*",
        config = function()
            require("hop").setup({ keys = "tnseridhaofuwyplcqxz" })
        end,
    },
    {
        'romgrk/barbar.nvim',
        init = function() vim.g.barbar_auto_setup = false end,
        opts = {
            sidebar_filetypes = {
                undotree = {
                    text = 'undotree',
                    align = 'center',
                },
            },
        },
    },
    {
        'windwp/nvim-autopairs',
        event = "InsertEnter",
        config = true
    },
    {
        'RedsXDD/neopywal.nvim',
        name = "neopywal",
        lazy = false,
        priority = 1000,
    },
    {
        'hedyhli/outline.nvim',
        config = function() require("outline").setup() end,
    },
})