summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
blob: 6d0857f7b58c66e83bed6b4507ce0fd35056f1bb (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
-- This file can be loaded by calling `lua require('plugins')` from your
-- init.vim

-- Only required if you have packer configured as `opt`
vim.cmd([[packadd packer.nvim]])

return require("packer").startup(function(use)
    -- Packer can manage itself
    use("wbthomason/packer.nvim")

    -- Lsp config plugin
    use({ "neovim/nvim-lspconfig" })

    -- Manage lsp servers, linters, and formatters
    use({ "williamboman/mason.nvim" })
    use({ "williamboman/mason-lspconfig.nvim" })

    -- Auto completion
    use({ "hrsh7th/nvim-cmp" })
    use({ "hrsh7th/cmp-nvim-lsp" })

    -- Gruvbox theme
    use({ "ellisonleao/gruvbox.nvim" })

    -- Vim airline plugin
    use({ "vim-airline/vim-airline" })
    use({ "vim-airline/vim-airline-themes" })

    -- Git plugins
    use({ "tpope/vim-fugitive" })
    use({ "tpope/vim-rhubarb" })
    use({ "shumphrey/fugitive-gitlab.vim" })
end)