" With Vim-Plug
Plug 'hiszd/chillthm.nvim'
" Enable the color scheme
colorscheme chillthm
-- With packer
use 'hiszd/chillthm.nvim'
-- in your lua config
require('chillthm')
function ThemeToggle()
if vim.g.background == 'dark' then
vim.g.background = 'light'
else
vim.g.background = 'dark'
end
require('chillthm').reload()
end
--- ... map this function to any keybinding