You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
398 B
Lua
28 lines
398 B
Lua
local present, todo = pcall(require, "todo-comments")
|
|
|
|
if not present then
|
|
return
|
|
end
|
|
|
|
M = {}
|
|
|
|
local config = {
|
|
keywords = {
|
|
["_TODO"] = { color = "warning"},
|
|
["LEARN"] = { color = "hint" },
|
|
["WIP"] = { color = "default"},
|
|
},
|
|
colors = {
|
|
info = {"#2563EB"},
|
|
hint = {"#10B981"},
|
|
default = {"#8C3AED" },
|
|
},
|
|
}
|
|
|
|
M.setup = function()
|
|
todo.setup(config)
|
|
end
|
|
|
|
|
|
return M
|