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

return require('packer').startup(function(use)
	-- Package manager
	use 'wbthomason/packer.nvim'

	-- Colorscheme
	use {
		'rose-pine/neovim',
		as = 'rose-pine',
	}

	-- More textobjects; more is more
	use 'wellle/targets.vim'
	use {
		'nvim-treesitter/nvim-treesitter-textobjects',
		after = 'nvim-treesitter',
		requires = 'nvim-treesitter/nvim-treesitter',
		run = ':TSUpdate',
	}

	-- Efficiency improvements
	use 'kylechui/nvim-surround'
	use 'mattn/emmet-vim'
	use 'numToStr/Comment.nvim'
	use 'christoomey/vim-sort-motion'

	-- Git integration
	use 'tpope/vim-fugitive'

	-- Improvements to builtin functionality
	use 'mbbill/undotree'
	use 'tpope/vim-speeddating'

	-- Additional language support
	use 'Glench/Vim-Jinja2-Syntax'
	use 'https://git.sr.ht/~mango/tree-sitter-gsp'
	use 'luckasRanarison/tree-sitter-hypr'

	-- LSP support and completions
	use 'neovim/nvim-lspconfig'
	use {
		'hrsh7th/nvim-cmp',
		requires = {
			-- Completion backends
			{ 'hrsh7th/cmp-buffer' },
			{ 'hrsh7th/cmp-nvim-lua' },
			{ 'hrsh7th/cmp-nvim-lsp' },
			{ 'hrsh7th/cmp-path' },

			-- Snippets
			{ 'L3MON4D3/LuaSnip' },
			{ 'saadparwaiz1/cmp_luasnip' },
		},
	}

	-- LSP support
	-- use {
	-- 	'VonHeikemen/lsp-zero.nvim',
	-- 	branch = 'v2.x',
	-- 	requires = {
	-- 		-- LSP Support
	-- 		{ 'neovim/nvim-lspconfig' },
	-- 		{ 'williamboman/mason.nvim' },
	-- 		{ 'williamboman/mason-lspconfig.nvim' },

	-- 		-- Autocompletion
	-- 		{ 'hrsh7th/nvim-cmp' },
	-- 		{ 'hrsh7th/cmp-nvim-lsp' },
	-- 		{ 'L3MON4D3/LuaSnip' },
	-- 	}
	-- }
end)