Untitled

mail@pastecode.io avatar
unknown
plain_text
25 days ago
3.4 kB
2
Indexable
Never
vim.api.nvim_create_autocmd("BufWritePost", {
    group = vim.api.nvim_create_augroup("PACKER", { clear = true }),
    pattern = "plugins.lua",
    command = "source <afile> | PackerCompile",
})

return require("packer").startup(function(use)
    use("wbthomason/packer.nvim")

    use({
        "ellisonleao/gruvbox.nvim",
        config = function()
            require("configs.gruvbox")
        end,
    })

    use("tanvirtin/monokai.nvim")
    
    use("catppuccin/nvim")

    use("savq/melange-nvim")

    use("nyoom-engineering/oxocarbon.nvim")

    use("zaldih/themery.nvim")

    use("folke/tokyonight.nvim")

    use("rebelot/kanagawa.nvim")

    use("xero/miasma.nvim")

    use("nvim-lua/plenary.nvim")

    use({
        "nvim-telescope/telescope.nvim",
        tag = "0.1.1",
        requires = { { "nvim-lua/plenary.nvim" } },
    })

    use({
        'CRAG666/code_runner.nvim',
        config = function ()
            require("configs.code_runner")
        end
    })

    use({
        "IogaMaster/neocord",
        config = function()
            require("configs.neocord")
        end,
    })

    use("nvim-tree/nvim-web-devicons")

    use({
        "nvim-lualine/lualine.nvim",
        event = "BufEnter",
        config = function()
            require("configs.lualine")
        end,
        requires = { "nvim-web-devicons" },
    })

    use({
        "nvim-treesitter/nvim-treesitter",
        run = function()
            require("nvim-treesitter.install").update({ with_sync = true })
        end,
        config = function()
            require("configs.treesitter")
        end,
    })

    use({ "windwp/nvim-ts-autotag", after = "nvim-treesitter" })

    use({
        "neovim/nvim-lspconfig",
        config = function()
            require("configs.lsp")
        end,
    })

    use("onsails/lspkind-nvim")

    use({
        "L3MON4D3/LuaSnip",
        tag = "v<CurrentMajor>.*",
    })

    use({
        "hrsh7th/nvim-cmp",
        event = "InsertEnter",
        config = function()
            require("configs.cmp")
        end,
    })

    use("hrsh7th/cmp-nvim-lsp")

    use({ "hrsh7th/cmp-path", after = "nvim-cmp" })

    use({ "hrsh7th/cmp-buffer", after = "nvim-cmp" })

    use({
        "nvim-neo-tree/neo-tree.nvim",
        branch = "v2.x",
        requires = {
            "nvim-lua/plenary.nvim",
            "nvim-tree/nvim-web-devicons",
            "MunifTanjim/nui.nvim",
        },
    })

    use({
        "norcalli/nvim-colorizer.lua",
        config = function()
            require("colorizer").setup({ "*" })
        end,
    })

    use({
        "akinsho/toggleterm.nvim",
        tag = "*",
        config = function()
            require("configs.toggleterm")
        end,
    })

    use({
        "lewis6991/gitsigns.nvim",
        config = function()
            require("configs.gitsigns")
        end,
    })

    use({
        "iamcco/markdown-preview.nvim",
        run = function()
            vim.fn["mkdp#util#install"]()
        end,
    })

    use({
        "windwp/nvim-autopairs",
        config = function()
            require("configs.autopairs")
        end,
    })

    use({ "catppuccin/nvim", as = "catppuccin" })
end)
Leave a Comment