summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plug.lua
blob: cfff4a5dfe7f7a22d5c19343d6f3c6765f9dad3d (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
vim.cmd.packadd('packer.nvim')

return require('packer').startup({function(use)
	-- Packer can manage itself
	use 'wbthomason/packer.nvim'
	use {
		'nvim-telescope/telescope.nvim',
		branch = '0.1.x',
		requires = { {'nvim-lua/plenary.nvim'} }
	}
	use {
		'windwp/nvim-autopairs',
		config = function() require('nvim-autopairs').setup {} end
	}
	use 'jiangmiao/auto-pairs'
	use 'folke/which-key.nvim'
	use 'mhinz/vim-signify'
	use 'mhinz/vim-startify'
	use 'morhetz/gruvbox'
	use 'mg979/vim-visual-multi'
	use 'preservim/tagbar'
	use 'preservim/nerdcommenter'
	use {
		'nvim-tree/nvim-tree.lua',
		requires = {'nvim-tree/nvim-web-devicons'}
	}
	use 'mbbill/undotree'
	-- use 'brglng/vim-sidebar-manager'
	use 'sainnhe/gruvbox-material'
	use 'tpope/vim-fugitive'
	use 'tpope/vim-surround'
	use 'nvim-lualine/lualine.nvim'
	use 'voldikss/vim-floaterm'
	use 'chrisbra/csv.vim'
	use {
		'ThePrimeagen/harpoon',
		branch = 'harpoon2',
		requires = { {'nvim-lua/plenary.nvim'} }
	}
	use 'HiPhish/rainbow-delimiters.nvim'
	use {
		'nvim-treesitter/nvim-treesitter',
		run = function()
			local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
			ts_update()
		end,}
	use {
		'VonHeikemen/lsp-zero.nvim',
		branch = 'v3.x',
		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({
		'folke/trouble.nvim',
		requires = {
			{'nvim-tree/nvim-web-devicons'},
		},
		config = function()
			require('trouble').setup {
				icons = true,
			}
		end
	})
	use 'onsails/lspkind.nvim'
end,
config = {
  display = {
    open_fn = require('packer.util').float,
  }
}})