summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/init.lua
blob: d21a585b38897608d202e0944e304a3941aaab9b (plain) (blame)
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
return require('packer').startup(function(use)
	use 'wbthomason/packer.nvim'
	use 'nvim-lua/plenary.nvim'
	use 'neovim/nvim-lspconfig'
	use {
		'hrsh7th/nvim-cmp',
		requires = {
			'hrsh7th/cmp-nvim-lsp',
			'hrsh7th/cmp-buffer',
			'hrsh7th/cmp-path',
			'hrsh7th/cmp-vsnip',
			'hrsh7th/vim-vsnip',
		},
		config = function()
			require 'plugins.cmp'
		end
	}
  use {
    'nvim-lualine/lualine.nvim',
    config = function()
      require 'plugins.lualine'
    end
  }
	use {
		'nvim-treesitter/nvim-treesitter',
		run = ':TSUpdate',
		config = function()
			require 'plugins.treesitter'
		end
	}
	use {
		'nvim-telescope/telescope.nvim',
		config = function()
			require 'plugins.telescope'
		end
	}
	use {
		'nvim-tree/nvim-tree.lua',
		config = function()
			require 'plugins.tree'
		end
	}
	use 'nvim-tree/nvim-web-devicons'
	if packer_bootstrap then
		require('packer').sync()
	end
end)