63 lines
1.7 KiB
Lua
63 lines
1.7 KiB
Lua
--[[ plug.lua ]]
|
|
|
|
return require('packer').startup(function(use)
|
|
-- Packer can manage itself
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
-- nvim-tree
|
|
use {'kyazdani42/nvim-tree.lua',
|
|
requires = {
|
|
'kyazdani42/nvim-web-devicons',
|
|
},
|
|
tag = 'nightly'
|
|
}
|
|
|
|
-- mason
|
|
use 'williamboman/mason.nvim'
|
|
use 'williamboman/mason-lspconfig.nvim'
|
|
use 'neovim/nvim-lspconfig'
|
|
|
|
-- treesitter
|
|
use 'nvim-treesitter/nvim-treesitter'
|
|
|
|
-- Completion framework:
|
|
use 'hrsh7th/nvim-cmp'
|
|
|
|
-- LSP completion source:
|
|
use 'hrsh7th/cmp-nvim-lsp'
|
|
|
|
-- Useful completion sources:
|
|
use 'hrsh7th/cmp-nvim-lua'
|
|
use 'hrsh7th/cmp-nvim-lsp-signature-help'
|
|
use 'hrsh7th/cmp-vsnip'
|
|
use 'hrsh7th/cmp-path'
|
|
use 'hrsh7th/cmp-buffer'
|
|
use 'hrsh7th/vim-vsnip'
|
|
|
|
-- telescope
|
|
use {
|
|
'nvim-telescope/telescope.nvim', -- fuzzy finder
|
|
requires = { {'nvim-lua/plenary.nvim'} }
|
|
}
|
|
|
|
-- quality-addons
|
|
use { 'majutsushi/tagbar' } -- code structure
|
|
use { 'Yggdroot/indentLine' } -- see indentation
|
|
use { 'tpope/vim-fugitive' } -- git integration
|
|
use { 'junegunn/gv.vim' } -- commit history
|
|
use { 'windwp/nvim-autopairs' } -- auto close brackets, etc.
|
|
use { 'numToStr/FTerm.nvim' } -- floating terminal
|
|
|
|
|
|
-- theme
|
|
use { 'mhinz/vim-startify' } -- start screen
|
|
use { 'DanilaMihailov/beacon.nvim' } -- cursor jump
|
|
use {
|
|
'nvim-lualine/lualine.nvim', -- statusline
|
|
requires = {'kyazdani42/nvim-web-devicons',
|
|
opt = true}
|
|
}
|
|
use { 'navarasu/onedark.nvim' }
|
|
|
|
end)
|