feat: add theme toggle btn | update theme plugin path

This commit is contained in:
siduck 2022-05-06 20:14:57 +05:30
parent 0601876ab6
commit b9a1038acd
5 changed files with 27 additions and 5 deletions

View file

@ -20,7 +20,8 @@ M.options = {
M.ui = {
hl_override = {},
changed_themes = {},
colors = "", -- path of your file that contains colors
colors = {}, -- dynamically generated, never edit this in chadrc
theme_toggle = { "onedark", "one_light" },
theme = "onedark", -- default theme
transparency = false,
}

View file

@ -4,6 +4,7 @@ local g = vim.g
-- use filetype.lua instead of filetype.vim
g.did_load_filetypes = 0
g.do_filetype_lua = 1
g.toggle_theme_icon = ""
opt.confirm = true
opt.laststatus = 3 -- global statusline