19 lines
688 B
Lua
19 lines
688 B
Lua
local M = { "folke/todo-comments.nvim" }
|
|
local icons = require("config.icons")
|
|
|
|
M.event = { "BufReadPost", "BufNewFile" }
|
|
|
|
M.config = {
|
|
signs = false,
|
|
keywords = {
|
|
BUG = { icon = icons.Bug, color = "error", alt = { "FIXME", "FIX", "FIXIT", "ISSUE" } },
|
|
TODO = { icon = icons.Task, color = "info" },
|
|
HACK = { icon = icons.Flame, color = "warning" },
|
|
WARN = { icon = icons.Warn, color = "warning", alt = { "WARNING", "XXX" } },
|
|
PERF = { icon = icons.Speed, alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
|
|
NOTE = { icon = icons.Buffer, color = "hint", alt = { "INFO" } },
|
|
TEST = { icon = icons.Test, color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
|
|
},
|
|
}
|
|
|
|
return M
|