summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/jacob/plugins.lua
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-03-26 21:43:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-03-26 21:43:28 -0400
commit4a903ca920b43184efb05a30c0bb79d21b56e0a9 (patch)
tree78b8a674f404954af127a2cf7546780824c3b904 /.config/nvim/lua/jacob/plugins.lua
parentf4b64685c4e5e80bd279cbb7d6f1c774041e7baa (diff)
Updated neovim based on theprimagen
Diffstat (limited to '.config/nvim/lua/jacob/plugins.lua')
-rw-r--r--.config/nvim/lua/jacob/plugins.lua58
1 files changed, 58 insertions, 0 deletions
diff --git a/.config/nvim/lua/jacob/plugins.lua b/.config/nvim/lua/jacob/plugins.lua
new file mode 100644
index 0000000..83675c0
--- /dev/null
+++ b/.config/nvim/lua/jacob/plugins.lua
@@ -0,0 +1,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'},
+})