|
|
|
print("Loading plugins")
|
|
|
|
|
|
|
|
vim.cmd [[packadd packer.nvim]]
|
|
|
|
|
|
|
|
return require('packer').startup(function(use)
|
|
|
|
-- the plugin that manages the plugins
|
|
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
|
|
|
|
-- this thing finds files or something
|
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
tag = '0.1.8',
|
|
|
|
requires = {
|
|
|
|
{'nvim-lua/plenary.nvim'}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- parses code
|
|
|
|
use {
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
|
|
|
run = ':TSUpdate'
|
|
|
|
}
|
|
|
|
|
|
|
|
-- lets you look at parse trees
|
|
|
|
use { 'nvim-treesitter/playground' }
|
|
|
|
|
|
|
|
-- colorschemes
|
|
|
|
use { "rose-pine/neovim", as = "rose-pine" }
|
|
|
|
use { "nanotech/jellybeans.vim", as = "jellybeans" }
|
|
|
|
|
|
|
|
-- hmmmm try this?
|
|
|
|
-- https://github.com/ThePrimeagen/harpoon/tree/harpoon2
|
|
|
|
|
|
|
|
-- visualizes vim's undo tree
|
|
|
|
use { "mbbill/undotree" }
|
|
|
|
|
|
|
|
-- a git client
|
|
|
|
use { "tpope/vim-fugitive" }
|
|
|
|
|
|
|
|
-- show git status per-line in a gutter column
|
|
|
|
use {
|
|
|
|
"lewis6991/gitsigns.nvim"
|
|
|
|
}
|
|
|
|
|
|
|
|
-- a file browser
|
|
|
|
vim.g.loaded_netrw = 1
|
|
|
|
vim.g.loaded_netrwPlugin = 1
|
|
|
|
use { "nvim-tree/nvim-tree.lua" }
|
|
|
|
|
|
|
|
-- helps you configure lsp servers
|
|
|
|
use {
|
|
|
|
"neovim/nvim-lspconfig"
|
|
|
|
}
|
|
|
|
end)
|
|
|
|
|