migrated to lazy.nvim, cleanup and fixes
This commit is contained in:
53
lua/plugins/50_ui.lua
Normal file
53
lua/plugins/50_ui.lua
Normal file
@@ -0,0 +1,53 @@
|
||||
return {
|
||||
--
|
||||
-- Theme
|
||||
--
|
||||
{
|
||||
'navarasu/onedark.nvim',
|
||||
lazy = false,
|
||||
config = function()
|
||||
local ct = require('conftool')
|
||||
ct.set({'background', 'light'})
|
||||
vim.cmd [[colo onedark]]
|
||||
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
|
||||
--
|
||||
{
|
||||
'nathanaelkane/vim-indent-guides',
|
||||
lazy = false,
|
||||
setup = function()
|
||||
vim.g.indent_guides_guide_size = 1
|
||||
vim.g.indent_guides_tab_guides = 0
|
||||
vim.g.indent_guides_start_level = 2
|
||||
vim.g.indent_guides_enable_on_vim_startup = 1
|
||||
end
|
||||
},
|
||||
--
|
||||
-- Delimiters
|
||||
--
|
||||
{
|
||||
'hiphish/rainbow-delimiters.nvim',
|
||||
lazy = false,
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user