feat(enfocado): added more enfocado settings (#41)

* fix(enfocado): improvements are made to the configs

* fix(enfocado): some colors of enfocado are updated

* feat(enfocado): enfocado on-demand plugins are listed
This commit is contained in:
Wuelner Martínez 2022-01-17 15:13:11 -06:00 committed by GitHub
parent 99adce7770
commit 478368f03a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 6 deletions

View file

@ -25,8 +25,8 @@ local theme = {
local colors = {
white = theme.dim_0,
bg = theme.bg_2,
bg_highlight = theme.bg_1,
bg = theme.bg_1,
bg_highlight = theme.bg_2,
normal = theme.dim_0,
insert = theme.dim_0,
command = theme.dim_0,
@ -35,13 +35,12 @@ local colors = {
diffAdd = theme.green,
diffModified = theme.yellow,
diffDeleted = theme.red,
trace = theme.br_orange,
trace = theme.br_magenta,
hint = theme.br_blue,
info = theme.br_yellow,
error = theme.br_red,
warn = theme.br_orange,
floatBorder = theme.cyan,
selection_caret = theme.cyan,
notify_bg = theme.bg_1
floatBorder = theme.fg_0,
selection_caret = theme.fg_0,
}
return colors

View file

@ -110,6 +110,20 @@ function M.init(use, config)
as = 'enfocado',
config = function()
vim.g.enfocado_style = 'nature'
vim.g.enfocado_plugins = {
'cmp',
'dashboard',
'floaterm',
'gitsigns',
'lsp',
'lsp-installer',
'notify',
'packer',
'telescope',
'todo-comments',
'tree',
'treesitter'
}
vim.cmd('autocmd VimEnter * ++nested colorscheme enfocado')
end,
disable = config.theme ~= 'enfocado',