aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugin/packer.lua
blob: a2ac4517a3cca748a060431fdd8780ebbcaac423 (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
return require("packer").startup(function(use)
  use { "wbthomason/packer.nvim" }
  
  use {
    "nvim-telescope/telescope.nvim",
    requires = {
      { "nvim-lua/plenary.nvim" }
    },
  }

  use { "Yggdroot/indentLine" }
  use { "windwp/nvim-autopairs" }
  use { "airblade/vim-gitgutter" }

  use {
    "folke/trouble.nvim",
    requires = {
      { "nvim-tree/nvim-web-devicons" },
    }
  }

  use { "tpope/vim-fugitive" }
  use { "numToStr/Comment.nvim" }
  use { "HiPhish/nvim-ts-rainbow2" }
  
  use {
    "VonHeikemen/lsp-zero.nvim",
    requires = {
      -- LSP Support
      {"neovim/nvim-lspconfig"},
      {"williamboman/mason.nvim"},
      {"williamboman/mason-lspconfig.nvim"},

      -- Autocompletion
      {"hrsh7th/nvim-cmp"},
      {"hrsh7th/cmp-buffer"},
      {"hrsh7th/cmp-path"},
      {"saadparwaiz1/cmp_luasnip"},
      {"hrsh7th/cmp-nvim-lsp"},
      {"hrsh7th/cmp-nvim-lua"},

      -- Snippets
      {"L3MON4D3/LuaSnip"},
      {"rafamadriz/friendly-snippets"},
    }
  }

  use { "tikhomirov/vim-glsl" }

  use { "michaeljsmith/vim-indent-object" }

  use {
    "nvim-treesitter/nvim-treesitter",
    run = ":TSUpdate"
  }

  use {
    "danymat/neogen",
    requires = "nvim-treesitter/nvim-treesitter"
  }
end)