Update packer because I don't know why cond doesn

't work
 Please enter the commit message for your changes. Lines starting
This commit is contained in:
juan 2022-09-03 21:52:49 +08:00
parent f4ad81a263
commit 304a143c03
Signed by: juan
GPG Key ID: 5C1E5093C74F1DC7
2 changed files with 8 additions and 29 deletions

View File

@ -1,46 +1,25 @@
-- Only required if you have packer configured as `opt`
vim.cmd [[packadd packer.nvim]]
require('packer').init {
display = {
open_fn = function()
return require('packer.util').float {border = 'single'}
end,
prompt_border = 'single'
},
git = {
clone_timeout = 600 -- Timeout, in seconds, for git clones
},
auto_clean = true,
compile_on_sync = true,
auto_reload_compiled = true
}
return require('packer').startup(function(use) return require('packer').startup(function(use)
use {'wbthomason/packer.nvim'} use {'wbthomason/packer.nvim'}
-- core UI -- core UI
use { use({
'b4skyx/serenade', 'sainnhe/everforest',
config = function() config = function()
vim.g.serenade_enable_italic = 1 vim.g.everforest_better_performance = 1
vim.g.serenade_sign_column_background = 'none' vim.cmd('colorscheme everforest')
vim.g.serenade_better_performance = 1
vim.cmd('colorscheme serenade')
end end
} })
use {'sainnhe/everforest', event = "CmdlineEnter"}
use {'kyazdani42/nvim-web-devicons'} use {'kyazdani42/nvim-web-devicons'}
use { use {
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
after = {'serenade', 'nvim-web-devicons'}, after = {'nvim-web-devicons'},
config = function() require 'plugins.statusline' end config = function() require 'plugins.statusline' end
} }
use { use {
'romgrk/barbar.nvim', 'romgrk/barbar.nvim',
requires = {'kyazdani42/nvim-web-devicons'}, requires = {'kyazdani42/nvim-web-devicons'},
event = 'BufAdd', event = 'BufAdd',
after = {'nvim-web-devicons', 'serenade'}, after = {'nvim-web-devicons'},
config = function() require 'plugins.barbar' end config = function() require 'plugins.barbar' end
} }

View File

@ -1,7 +1,7 @@
require'lualine'.setup { require'lualine'.setup {
options = { options = {
icons_enabled = true, icons_enabled = true,
theme = 'serenade', theme = 'auto',
component_separators = {'|', '|'}, component_separators = {'|', '|'},
section_separators = {'', ''}, section_separators = {'', ''},
disabled_filetypes = {} disabled_filetypes = {}