30 lines
800 B
Lua
30 lines
800 B
Lua
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
|
|
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
|
end
|
|
|
|
return require('packer').startup(function(use)
|
|
use 'EdenEast/nightfox.nvim'
|
|
use 'folke/which-key.nvim'
|
|
|
|
use {
|
|
'kyazdani42/nvim-tree.lua',
|
|
requires = {
|
|
'kyazdani42/nvim-web-devicons',
|
|
},
|
|
}
|
|
|
|
use('TimUntersberger/neogit')
|
|
use('nvim-lua/plenary.nvim')
|
|
|
|
use('nvim-lualine/lualine.nvim')
|
|
|
|
use('kdheepak/tabline.nvim')
|
|
|
|
-- Automatically set up your configuration after cloning packer.nvim
|
|
-- Put this at the end after all plugins
|
|
if packer_bootstrap then
|
|
require('packer').sync()
|
|
end
|
|
end)
|