|
|
|
vim.cmd [[packadd packer.nvim]]
|
|
|
|
|
|
|
|
local packer = require('packer')
|
|
|
|
|
|
|
|
function load_plugins(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" }
|
|
|
|
use { "rebelot/kanagawa.nvim", as = "kanagawa" }
|
|
|
|
use { "sho-87/kanagawa-paper.nvim", as = "kanagawa-paper" }
|
|
|
|
|
|
|
|
-- fancy status bar line
|
|
|
|
use {
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
|
|
|
|
}
|
|
|
|
|
|
|
|
use {'akinsho/bufferline.nvim', tag = "*", requires = 'nvim-tree/nvim-web-devicons'}
|
|
|
|
|
|
|
|
-- 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"
|
|
|
|
}
|
|
|
|
|
|
|
|
use { "ray-x/lsp_signature.nvim" }
|
|
|
|
use { "ervandew/supertab" }
|
|
|
|
|
|
|
|
-- a file browser
|
|
|
|
-- use { "nvim-tree/nvim-tree.lua" }
|
|
|
|
use {
|
|
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
|
|
branch = "v3.x",
|
|
|
|
requires = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
|
|
|
"MunifTanjim/nui.nvim",
|
|
|
|
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- helps you configure lsp servers
|
|
|
|
use {
|
|
|
|
"neovim/nvim-lspconfig"
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
local plugins = packer.startup(load_plugins)
|
|
|
|
|
|
|
|
return plugins
|