-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.lua
49 lines (39 loc) · 1.26 KB
/
plugins.lua
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
-- Bootstrapping packer
local execute = vim.api.nvim_command
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path})
execute 'packadd packer.nvim'
end
-- Plugins
return require('packer').startup(function()
use 'wbthomason/packer.nvim'
use 'preservim/nerdtree'
use 'tpope/vim-commentary'
use 'tpope/vim-surround'
use 'tpope/vim-fugitive'
use 'mattn/emmet-vim'
-- use 'elixir-editors/vim-elixir'
use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' }
use 'gruvbox-community/gruvbox'
use { 'nvim-telescope/telescope.nvim',
requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}}
}
use {'junegunn/fzf', run = function() vim.fn['fzf#install()'](0) end }
use 'junegunn/fzf.vim'
-- language server configurations
use 'neovim/nvim-lspconfig'
use 'williamboman/nvim-lsp-installer'
-- autocomplete and snippets
use 'hrsh7th/nvim-compe'
use 'hrsh7th/vim-vsnip'
use 'hrsh7th/vim-vsnip-integ'
-- getgu
use 'ThePrimeagen/vim-be-good'
-- github copilot
use 'github/copilot.vim'
-- harpoon
use 'nvim-lua/plenary.nvim'
use 'ThePrimeagen/harpoon'
end)