🎨 Style(colorschemes): allow auto-dark-mode toggle but disable it by default
This commit is contained in:
@@ -211,7 +211,7 @@ vim.o.background = "dark" ---@type string Options: <dark|l
|
||||
-- Disable Transparency
|
||||
vim.g.disable_transparency = true ---@type boolean Options: <true|false>
|
||||
-- Auto Dark-mode
|
||||
vim.g.autodarkmode = true ---@type boolean Options: <true|false>
|
||||
vim.g.autodarkmode = false ---@type boolean Options: <true|false>
|
||||
-- Set colorcolumn
|
||||
--vim.opt.colorcolumn = "120" ---@type string|table Options: [column]
|
||||
--Use Astral colorscheme management
|
||||
|
||||
@@ -142,4 +142,10 @@ return {
|
||||
-- event = 'BufReadPre',
|
||||
-- opts = require('data.types').hightlight_colors,
|
||||
-- },
|
||||
{ -- Auto Dark Mode
|
||||
'f-person/auto-dark-mode.nvim',
|
||||
lazy = true,
|
||||
opts = require('data.types').auto_dark_mode,
|
||||
cond = require('data.cond').auto_dark_mode,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user