fix(enfocado): improvements are made to the configs (#35)

This commit is contained in:
Wuelner Martínez 2021-12-15 23:54:35 -06:00 committed by GitHub
parent 2830ade34d
commit fa21ba4605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 16 deletions

View file

@ -24,23 +24,24 @@ local theme = {
} }
local colors = { local colors = {
white = theme.fg_1, white = theme.dim_0,
bg = theme.bg_2, bg = theme.bg_2,
bg_highlight = theme.bg_2, bg_highlight = theme.bg_1,
normal = theme.green, normal = theme.dim_0,
insert = theme.cyan, insert = theme.dim_0,
command = theme.orange, command = theme.dim_0,
visual = theme.violet, visual = theme.dim_0,
replace = theme.br_red, replace = theme.dim_0,
diffAdd = theme.green, diffAdd = theme.green,
diffModified = theme.orange, diffModified = theme.yellow,
diffDeleted = theme.red, diffDeleted = theme.red,
trace = theme.orange, trace = theme.br_orange,
hint = theme.cyan, hint = theme.br_blue,
info = theme.green, info = theme.br_yellow,
error = theme.red, error = theme.br_red,
warn = theme.orange, warn = theme.br_orange,
floatBorder = theme.blue, floatBorder = theme.cyan,
selection_caret = theme.blue, selection_caret = theme.cyan,
notify_bg = theme.bg_1
} }
return colors return colors

View file

@ -108,7 +108,8 @@ function M.init(use, config)
'wuelnerdotexe/vim-enfocado', 'wuelnerdotexe/vim-enfocado',
as = 'enfocado', as = 'enfocado',
config = function() config = function()
vim.cmd('color enfocado') vim.g.enfocado_style = 'nature'
vim.cmd('autocmd VimEnter * ++nested colorscheme enfocado')
end, end,
disable = config.theme ~= 'enfocado', disable = config.theme ~= 'enfocado',
}) })