2021-09-16 20:54:40 +00:00
|
|
|
-- Only required if you have packer configured as `opt`
|
|
|
|
vim.cmd [[packadd packer.nvim]]
|
|
|
|
|
2021-09-16 07:15:00 +00:00
|
|
|
return require('packer').startup(function()
|
|
|
|
use 'morhetz/gruvbox'
|
|
|
|
|
|
|
|
-- Status line
|
|
|
|
use {
|
|
|
|
'hoob3rt/lualine.nvim',
|
2021-09-25 19:06:36 +00:00
|
|
|
config = [[require('config.lualine')]],
|
2021-09-16 07:15:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
use 'tpope/vim-fugitive'
|
|
|
|
use 'mhinz/vim-signify'
|
|
|
|
|
|
|
|
use 'tpope/vim-surround'
|
|
|
|
use 'tpope/vim-repeat'
|
|
|
|
|
2021-09-16 20:54:40 +00:00
|
|
|
use {
|
2021-09-19 12:32:12 +00:00
|
|
|
'neovim/nvim-lspconfig',
|
|
|
|
requires = {
|
|
|
|
"hrsh7th/cmp-nvim-lsp"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'hrsh7th/nvim-cmp',
|
2021-09-16 20:54:40 +00:00
|
|
|
event = 'InsertEnter',
|
|
|
|
config = [[require('completion')]],
|
|
|
|
requires = {
|
2021-09-19 12:32:12 +00:00
|
|
|
'hrsh7th/vim-vsnip',
|
2021-11-01 04:08:07 +00:00
|
|
|
-- 'hrsh7th/vim-vsnip-integ',
|
|
|
|
-- 'rafamadriz/friendly-snippets',
|
2021-09-16 20:54:40 +00:00
|
|
|
},
|
|
|
|
}
|
2021-09-19 12:32:12 +00:00
|
|
|
use {'hrsh7th/cmp-vsnip', after = 'nvim-cmp'}
|
|
|
|
use {'hrsh7th/cmp-buffer', after = 'nvim-cmp'}
|
|
|
|
use {'hrsh7th/cmp-path', after = 'nvim-cmp'}
|
|
|
|
use {'hrsh7th/cmp-nvim-lsp', after = 'nvim-cmp'}
|
2021-11-01 04:08:25 +00:00
|
|
|
-- use {'f3fora/cmp-spell', after = 'nvim-cmp'}
|
2021-09-19 12:32:12 +00:00
|
|
|
|
2021-09-16 07:15:00 +00:00
|
|
|
|
|
|
|
use 'nvim-lua/popup.nvim'
|
2021-09-16 20:54:40 +00:00
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope.nvim',
|
2021-11-03 04:46:00 +00:00
|
|
|
config = [[require('config.telescope')]],
|
2021-11-20 19:42:23 +00:00
|
|
|
requires = { 'nvim-lua/plenary.nvim'}
|
2021-09-16 20:54:40 +00:00
|
|
|
}
|
2021-09-16 07:15:00 +00:00
|
|
|
|
2021-11-20 19:42:23 +00:00
|
|
|
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
|
|
|
|
|
2021-09-16 20:54:40 +00:00
|
|
|
use {
|
|
|
|
'lervag/vimtex',
|
2021-09-17 04:17:59 +00:00
|
|
|
config = [[require('config.vimtex')]],
|
2021-09-16 20:54:40 +00:00
|
|
|
}
|
2021-09-16 07:15:00 +00:00
|
|
|
|
|
|
|
-- Highlight on Yank
|
|
|
|
use 'machakann/vim-highlightedyank'
|
|
|
|
-- Autoclose parenthesis
|
|
|
|
use 'jiangmiao/auto-pairs'
|
|
|
|
|
2021-09-16 20:54:40 +00:00
|
|
|
use 'kyazdani42/nvim-web-devicons'
|
2021-09-22 03:52:37 +00:00
|
|
|
use {
|
|
|
|
'xolox/vim-notes',
|
|
|
|
config = [[require('config.notes')]],
|
|
|
|
requires = {
|
|
|
|
'xolox/vim-misc',
|
|
|
|
}
|
|
|
|
}
|
2021-09-16 20:54:40 +00:00
|
|
|
|
2021-11-09 08:51:32 +00:00
|
|
|
use 'christoomey/vim-tmux-navigator'
|
|
|
|
|
2021-09-16 07:15:00 +00:00
|
|
|
end)
|