some updates
This commit is contained in:
39
lua/ui.lua
39
lua/ui.lua
@@ -5,44 +5,15 @@ local ct = require 'conftool'
|
||||
-- Theme
|
||||
--
|
||||
vim.cmd('syntax on')
|
||||
--[[
|
||||
pk_use {
|
||||
'ellisonleao/gruvbox.nvim',
|
||||
'cormacrelf/vim-colors-github',
|
||||
setup = function()
|
||||
require('conftool').set({'background', 'dark'})
|
||||
end,
|
||||
config = function()
|
||||
require('conftool').set({'background', "light"})
|
||||
require('gruvbox').setup({
|
||||
italic = true,
|
||||
bold = true,
|
||||
contrast = "hard"
|
||||
})
|
||||
vim.cmd [[colo gruvbox]]
|
||||
-- end
|
||||
--}
|
||||
--]]
|
||||
pk_use {
|
||||
'Shatur/neovim-ayu',
|
||||
config = function()
|
||||
local ct = require('conftool')
|
||||
local hr = os.date('*t').hour
|
||||
|
||||
--[[
|
||||
if hr >= 21 then
|
||||
ct.set({'background', 'dark'})
|
||||
elseif hr >= 7 then
|
||||
ct.set({'background', 'light'})
|
||||
elseif hr >= 0 then
|
||||
ct.set({'background', 'light'})
|
||||
end
|
||||
]]--
|
||||
ct.set({'background', 'light'})
|
||||
|
||||
require('ayu').setup {
|
||||
mirage = false,
|
||||
}
|
||||
vim.cmd [[colorscheme ayu]]
|
||||
vim.cmd [[colo github]]
|
||||
end
|
||||
}
|
||||
|
||||
--
|
||||
-- Indentation
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user