-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpacker.lua
73 lines (64 loc) · 1.66 KB
/
packer.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
-- Only required if you have packer configured as `opt`
vim.cmd.packadd('packer.nvim')
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
-- Themes
use 'joshdick/onedark.vim'
-- Visual
use 'mhinz/vim-startify'
use 'nvim-tree/nvim-tree.lua'
use { 'akinsho/bufferline.nvim', tag = '*', requires = { 'nvim-tree/nvim-web-devicons' } }
use 'lewis6991/gitsigns.nvim'
use {
'nvim-lualine/lualine.nvim',
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
}
use 'lukas-reineke/indent-blankline.nvim'
-- LSP
use {
'VonHeikemen/lsp-zero.nvim',
branch = 'v1.x',
requires = {
-- LSP Support
{ 'neovim/nvim-lspconfig' },
{
'williamboman/mason.nvim',
run = ':MasonUpdate'
},
{ 'williamboman/mason-lspconfig.nvim' },
-- Autocompletion
{ 'hrsh7th/nvim-cmp' },
{ 'hrsh7th/cmp-nvim-lsp' },
{ 'hrsh7th/cmp-buffer' },
{ 'hrsh7th/cmp-path' },
{ 'hrsh7th/cmp-nvim-lua' },
{ 'saadparwaiz1/cmp_luasnip' },
-- Snippets
{ 'L3MON4D3/LuaSnip' },
}
}
use 'folke/neodev.nvim'
use 'lukas-reineke/lsp-format.nvim'
use 'onsails/lspkind.nvim'
-- Syntax
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate'
}
-- Utility
use 'tpope/vim-commentary'
use 'tpope/vim-fugitive'
use 'tpope/vim-repeat'
use 'tpope/vim-rhubarb'
use 'tpope/vim-surround'
use {
'nvim-telescope/telescope.nvim', tag = '0.1.1',
requires = { { 'nvim-lua/plenary.nvim' } }
}
-- TODO: fix
-- use 'alvan/vim-closetag'
-- Other
use 'pbrisbin/vim-mkdir'
use 'airblade/vim-rooter'
end)