fix(enfocado): improvements are made to the configs (#35)
This commit is contained in:
parent
2830ade34d
commit
fa21ba4605
2 changed files with 18 additions and 16 deletions
|
@ -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
|
||||||
|
|
|
@ -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',
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue