diff options
| author | Ian Griffin <migriffin@disroot.org> | 2022-11-17 21:40:26 +0800 |
|---|---|---|
| committer | Ian Griffin <migriffin@disroot.org> | 2022-11-17 21:40:26 +0800 |
| commit | e3416f0e727500f2e35a823b917f52106a6db902 (patch) | |
| tree | a91c5ba9aaa9f31d506d8c5d7288da1b00d007e4 /lua/ui.lua | |
| parent | 2417dcfd1fd78ec7178dc2e820a5c2f78f474671 (diff) | |
some updates
Diffstat (limited to 'lua/ui.lua')
| -rw-r--r-- | lua/ui.lua | 39 |
1 files changed, 5 insertions, 34 deletions
@@ -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 -- |
