summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/jacob/plugins.lua
blob: 83675c0a0a040b91261daa0db1e8db7a9986682e (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
-- Lazy.nvim plugin manager
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)


require("lazy").setup({
	{
		'nvim-telescope/telescope.nvim', tag = '0.1.6',
		dependencies = { 'nvim-lua/plenary.nvim' }
	},
	{
		"ThePrimeagen/harpoon",
		branch = "harpoon2",
		dependencies = { "nvim-lua/plenary.nvim" }
	},
	--{
	--	"NLKNguyen/papercolor-theme",
	--	config = function()
	--		vim.cmd('set t_Co=256')
	--		vim.cmd('set background=light')
	--		vim.cmd('colorscheme PaperColor')
	--	end
	--},
    {
        'folke/tokyonight.nvim',
        priority = 1000,
        init = function()
          -- Like many other themes, this one has different styles, and you could load
          -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
          vim.cmd.colorscheme 'tokyonight-day'
        end,
    },
	{
		"nvim-treesitter/nvim-treesitter", 
		build = ":TSUpdate",
	},
	{
		"mbbill/undotree",
		config = function()
			vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
		end
	},
	{'VonHeikemen/lsp-zero.nvim', branch = 'v3.x'},
	{'neovim/nvim-lspconfig'},
	{'hrsh7th/cmp-nvim-lsp'},
	{'hrsh7th/nvim-cmp'},
	{'L3MON4D3/LuaSnip'},
})