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:
parent
99adce7770
commit
478368f03a
2 changed files with 19 additions and 6 deletions
|
@ -25,8 +25,8 @@ local theme = {
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
white = theme.dim_0,
|
white = theme.dim_0,
|
||||||
bg = theme.bg_2,
|
bg = theme.bg_1,
|
||||||
bg_highlight = theme.bg_1,
|
bg_highlight = theme.bg_2,
|
||||||
normal = theme.dim_0,
|
normal = theme.dim_0,
|
||||||
insert = theme.dim_0,
|
insert = theme.dim_0,
|
||||||
command = theme.dim_0,
|
command = theme.dim_0,
|
||||||
|
@ -35,13 +35,12 @@ local colors = {
|
||||||
diffAdd = theme.green,
|
diffAdd = theme.green,
|
||||||
diffModified = theme.yellow,
|
diffModified = theme.yellow,
|
||||||
diffDeleted = theme.red,
|
diffDeleted = theme.red,
|
||||||
trace = theme.br_orange,
|
trace = theme.br_magenta,
|
||||||
hint = theme.br_blue,
|
hint = theme.br_blue,
|
||||||
info = theme.br_yellow,
|
info = theme.br_yellow,
|
||||||
error = theme.br_red,
|
error = theme.br_red,
|
||||||
warn = theme.br_orange,
|
warn = theme.br_orange,
|
||||||
floatBorder = theme.cyan,
|
floatBorder = theme.fg_0,
|
||||||
selection_caret = theme.cyan,
|
selection_caret = theme.fg_0,
|
||||||
notify_bg = theme.bg_1
|
|
||||||
}
|
}
|
||||||
return colors
|
return colors
|
||||||
|
|
|
@ -110,6 +110,20 @@ function M.init(use, config)
|
||||||
as = 'enfocado',
|
as = 'enfocado',
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.enfocado_style = 'nature'
|
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')
|
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