simplified themes
This commit is contained in:
parent
70b71d56e5
commit
728a7d8fce
|
|
@ -2,32 +2,37 @@ return {
|
||||||
--
|
--
|
||||||
-- Theme
|
-- Theme
|
||||||
--
|
--
|
||||||
{
|
--{
|
||||||
'navarasu/onedark.nvim',
|
-- 'navarasu/onedark.nvim',
|
||||||
lazy = false,
|
-- lazy = false,
|
||||||
config = function()
|
-- opts = {
|
||||||
local ct = require('conftool')
|
-- style = 'darker',
|
||||||
ct.set({'background', 'dark'})
|
-- toggle_style_key = '<leader>c',
|
||||||
vim.cmd [[colo onedark]]
|
-- toggle_style_list = {'warmer', 'light'},
|
||||||
end,
|
-- },
|
||||||
keys = {
|
-- config = function()
|
||||||
{
|
-- local ct = require('conftool')
|
||||||
'<Leader>c',
|
-- -- ct.set({'background', 'dark'})
|
||||||
function()
|
-- vim.cmd [[colo onedark]]
|
||||||
if vim.o.background == 'light' then
|
-- end,
|
||||||
vim.o.background = 'dark'
|
-- --[[ keys = {
|
||||||
else
|
-- {
|
||||||
vim.o.background = 'light'
|
-- '<Leader>c',
|
||||||
-- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'})
|
-- function()
|
||||||
vim.cmd('redraw')
|
-- if vim.o.background == 'light' then
|
||||||
vim.cmd('redraw')
|
-- vim.o.background = 'dark'
|
||||||
end
|
-- else
|
||||||
end,
|
-- vim.o.background = 'light'
|
||||||
desc = 'toggle color themes'
|
-- -- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'})
|
||||||
},
|
-- vim.cmd('redraw')
|
||||||
},
|
-- vim.cmd('redraw')
|
||||||
|
-- end
|
||||||
|
-- end,
|
||||||
|
-- desc = 'toggle color themes'
|
||||||
|
-- },
|
||||||
|
-- }, --]]
|
||||||
|
|
||||||
},
|
--},
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Indentation
|
-- Indentation
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ vim.opt.list = true
|
||||||
ct.set('ruler', 'showcmd', 'cursorline', 'title')
|
ct.set('ruler', 'showcmd', 'cursorline', 'title')
|
||||||
-- ct.set('number')
|
-- ct.set('number')
|
||||||
ct.set(
|
ct.set(
|
||||||
|
{'background', 'light'},
|
||||||
{'termguicolors', true},
|
{'termguicolors', true},
|
||||||
{'signcolumn', 'number'},
|
{'signcolumn', 'number'},
|
||||||
{'conceallevel', 0},
|
{'conceallevel', 0},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue