Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lua/todo-comments/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ local defaults = {
default = { "Identifier", "#7C3AED" },
test = { "Identifier", "#FF00FF" },
},
default_fg = {
dark = "#000000",
light = "#FFFFFF",
},
search = {
command = "rg",
args = {
Expand Down Expand Up @@ -149,8 +153,8 @@ function M.colors()
local normal = Util.get_hl("Normal")
local normal_fg = normal.foreground
local normal_bg = normal.background
local default_dark = "#000000"
local default_light = "#FFFFFF"
local default_dark = M.options.default_fg.dark
local default_light = M.options.default_fg.light
if not normal_fg and not normal_bg then
normal_fg = default_light
normal_bg = default_dark
Expand Down
Loading