2022-12-23 09:15:39 +00:00
|
|
|
return require('packer').startup(function(use)
|
|
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
use {
|
|
|
|
'glepnir/dashboard-nvim',
|
|
|
|
config = [[require('plugins.dashboard')]]
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
requires = {
|
|
|
|
'kyazdani42/nvim-web-devicons',
|
|
|
|
'RRethy/nvim-base16'
|
|
|
|
},
|
|
|
|
config = [[require('plugins.lualine')]]
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'xiyaowong/nvim-transparent',
|
|
|
|
config = [[require('plugins.transparent')]]
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'nvim-tree/nvim-tree.lua',
|
|
|
|
requires = {
|
|
|
|
'nvim-tree/nvim-web-devicons',
|
|
|
|
},
|
|
|
|
config = [[require('plugins.nvim-tree')]]
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
|
|
|
run = function()
|
|
|
|
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
|
|
|
|
ts_update()
|
|
|
|
end,
|
|
|
|
config = [[require('plugins.treesitter')]]
|
|
|
|
}
|
|
|
|
use 'p00f/nvim-ts-rainbow'
|
|
|
|
use 'jiangmiao/auto-pairs'
|
2022-12-23 10:28:12 +00:00
|
|
|
use {
|
|
|
|
'williamboman/mason.nvim',
|
|
|
|
requires = {
|
|
|
|
'neovim/nvim-lspconfig',
|
|
|
|
{
|
|
|
|
'williamboman/mason-lspconfig.nvim',
|
|
|
|
config = [[require('plugins.mason.lspconfig')]]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'j-hui/fidget.nvim',
|
|
|
|
config = [[require('plugins.fidget')]]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
config = [[require('plugins.mason')]]
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
'hrsh7th/nvim-cmp',
|
|
|
|
requires = {
|
|
|
|
'hrsh7th/cmp-nvim-lsp'
|
|
|
|
},
|
|
|
|
config = [[require('plugins.cmp')]]
|
|
|
|
}
|
2022-12-23 09:15:39 +00:00
|
|
|
|
|
|
|
if is_bootstrap then
|
|
|
|
require('packer').sync()
|
|
|
|
end
|
|
|
|
end)
|