From e3416f0e727500f2e35a823b917f52106a6db902 Mon Sep 17 00:00:00 2001 From: Ian Griffin Date: Thu, 17 Nov 2022 21:40:26 +0800 Subject: some updates --- lua/ui.lua | 39 +++++---------------------------------- 1 file changed, 5 insertions(+), 34 deletions(-) (limited to 'lua/ui.lua') diff --git a/lua/ui.lua b/lua/ui.lua index ccbe3e0..036bb70 100644 --- a/lua/ui.lua +++ b/lua/ui.lua @@ -5,44 +5,15 @@ local ct = require 'conftool' -- Theme -- vim.cmd('syntax on') ---[[ pk_use { - 'ellisonleao/gruvbox.nvim', - 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', + 'cormacrelf/vim-colors-github', + setup = function() + require('conftool').set({'background', 'dark'}) + end, 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 -- -- cgit v1.3