summaryrefslogtreecommitdiff
path: root/lua/user/plugins.lua
blob: 4f4eaa1a3b03f29d44bf78ba5531a1b4666b68ca (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
-- Use a protected call so we don't error out on first use
local status_ok, packer = pcall(require, "packer")
if not status_ok then
	return
end

-- Install your plugins here
return packer.startup(function(use)
	-- My plugins here
	use "wbthomason/packer.nvim" -- Have packer manage itself
	--use "nvim-lua/popup.nvim"          -- An implementation of the Popup API from vim in Neovim
	--use "nvim-lua/plenary.nvim"        -- Useful lua functions used by lots of plugins

	-- Colorschemes
	--use "lunarvim/colorschemes"        -- Additional colorschemes

	-- cmp plugins
	use "hrsh7th/nvim-cmp" -- The completion plugin
	use "hrsh7th/cmp-buffer" -- Buffer completions
	use "hrsh7th/cmp-path" -- Path completions
	use "hrsh7th/cmp-cmdline" -- Cmdline completions
	use "saadparwaiz1/cmp_luasnip" -- snippet completions
	use "hrsh7th/cmp-nvim-lsp" -- lsp completion
	use "hrsh7th/cmp-nvim-lua" -- config completion

	-- snippets
	use "L3MON4D3/LuaSnip" --snippet engine
	--use "rafamadriz/friendly-snippets" --a bunch of snippets to use

	-- LSP
	use "neovim/nvim-lspconfig" -- enable LSP
	use "williamboman/nvim-lsp-installer" -- simple to use language server installer


	-- TreeSitter
	use "nvim-treesitter/nvim-treesitter" --enable treesitter

end)