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 = {
white = theme.fg_1,
white = theme.dim_0,
bg = theme.bg_2,
bg_highlight = theme.bg_2,
normal = theme.green,
insert = theme.cyan,
command = theme.orange,
visual = theme.violet,
replace = theme.br_red,
bg_highlight = theme.bg_1,
normal = theme.dim_0,
insert = theme.dim_0,
command = theme.dim_0,
visual = theme.dim_0,
replace = theme.dim_0,
diffAdd = theme.green,
diffModified = theme.orange,
diffModified = theme.yellow,
diffDeleted = theme.red,
trace = theme.orange,
hint = theme.cyan,
info = theme.green,
error = theme.red,
warn = theme.orange,
floatBorder = theme.blue,
selection_caret = theme.blue,
trace = theme.br_orange,
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
}
return colors

View file

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