Automatically switch theme in vim - test.
This commit is contained in:
parent
fb7802b115
commit
7faea29b3d
@ -13,7 +13,7 @@ M.base46 = {
|
||||
SpellBad = { bg = "#770000", fg = "#ffffff" },
|
||||
Visual = { bg = "#0094d8", fg = "#ffffff" },
|
||||
},
|
||||
theme = "monekai",
|
||||
theme = "one_light",
|
||||
transparency = false
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ return {
|
||||
require("base46").load_all_highlights()
|
||||
end,
|
||||
},
|
||||
"nvchad/volt", -- optional, needed for theme switcher
|
||||
"nvchad/volt",
|
||||
},
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
@ -43,6 +43,21 @@ return {
|
||||
require "configs.lspconfig"
|
||||
end,
|
||||
},
|
||||
{
|
||||
"f-person/auto-dark-mode.nvim",
|
||||
lazy = false,
|
||||
config = {
|
||||
update_interval = 1000,
|
||||
set_dark_mode = function()
|
||||
require('nvconfig').base46.theme = "monekai"
|
||||
require('base46').load_all_highlights()
|
||||
end,
|
||||
set_light_mode = function()
|
||||
require('nvconfig').base46.theme = "one_light"
|
||||
require('base46').load_all_highlights()
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
-- These are some examples, uncomment them if you want to see them work!
|
||||
|
Loading…
Reference in New Issue
Block a user