diff options
Diffstat (limited to 'lua/plugins/50_ui.lua')
| -rw-r--r-- | lua/plugins/50_ui.lua | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/lua/plugins/50_ui.lua b/lua/plugins/50_ui.lua index 6b2e833..11a9a97 100644 --- a/lua/plugins/50_ui.lua +++ b/lua/plugins/50_ui.lua @@ -2,6 +2,32 @@ return { -- -- Theme -- + { + 'wuelnerdotexe/vim-enfocado', + lazy = false, + config = function() + vim.o.background = 'light' + vim.g.enfocad_style = 'nature' + vim.cmd 'colo enfocado' + end, + keys = { + { + '<Leader>c', + function() + if vim.o.background == 'light' then + vim.o.background = 'dark' + else + vim.o.background = 'light' + -- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'}) + vim.cmd('redraw') + vim.cmd('redraw') + end + end, + desc = 'toggle color themes' + }, + }, + }, + -- { -- 'navarasu/onedark.nvim', -- lazy = false, @@ -13,24 +39,6 @@ return { -- config = function() -- require('onedark').load() -- end, - -- --[[ keys = { - -- { - -- '<Leader>c', - -- function() - -- if vim.o.background == 'light' then - -- vim.o.background = 'dark' - -- else - -- vim.o.background = 'light' - -- -- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'}) - -- vim.cmd('redraw') - -- vim.cmd('redraw') - -- end - -- end, - -- desc = 'toggle color themes' - -- }, - -- }, --]] - - -- }, -- -- Indentation |
