47 lines
1.3 KiB
Lua
47 lines
1.3 KiB
Lua
vim.cmd([[autocmd BufWritePost plugins.lua source <afile> | PackerCompile]])
|
|
|
|
return require('packer').startup({function()
|
|
local use = use
|
|
-- Packer can manage itself
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
use 'vim-airline/vim-airline'
|
|
use 'scrooloose/nerdtree'
|
|
use 'Xuyuanp/nerdtree-git-plugin'
|
|
use 'liuchengxu/space-vim-dark'
|
|
use 'tpope/vim-fugitive'
|
|
use 'tpope/vim-commentary'
|
|
use { 'tpope/vim-dispatch', opt = true, cmd = { 'Dispatch', 'Dispatch!' } }
|
|
use 'junegunn/fzf.vim'
|
|
use 'sheerun/vim-polyglot'
|
|
use 'honza/vim-snippets'
|
|
use 'szw/vim-tags'
|
|
use 'rodjek/vim-puppet'
|
|
use 'tpope/vim-rails'
|
|
use 'tpope/vim-haml'
|
|
use 'xolox/vim-notes'
|
|
use 'xolox/vim-misc'
|
|
use 'jremmen/vim-ripgrep'
|
|
use 'airblade/vim-gitgutter'
|
|
use 'akinsho/toggleterm.nvim'
|
|
-- LSP Setup
|
|
use 'neovim/nvim-lspconfig'
|
|
use 'kabouzeid/nvim-lspinstall'
|
|
use 'nvim-lua/lsp_extensions.nvim'
|
|
use 'nvim-lua/completion-nvim'
|
|
use 'nvim-lua/popup.nvim'
|
|
use 'nvim-lua/plenary.nvim'
|
|
use 'hrsh7th/nvim-cmp' -- Autocompletion plugin
|
|
use 'hrsh7th/cmp-nvim-lsp'
|
|
use 'saadparwaiz1/cmp_luasnip'
|
|
use 'L3MON4D3/LuaSnip' -- Snippets plugin
|
|
use 'nvim-treesitter/nvim-treesitter'
|
|
-- Debugger --
|
|
use 'mfussenegger/nvim-dap'
|
|
end,
|
|
config = {
|
|
display = {
|
|
open_fn = require('packer.util').float,
|
|
}
|
|
}})
|