This commit is contained in:
2025-06-07 14:39:08 +08:00
parent d25bf6d7b1
commit 9b1e5c7069
5 changed files with 92 additions and 101 deletions

View File

@@ -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