1
0
Fork 0
dotfiles/.config/nvim/lua/plugins/misc/todo-comments.lua
2024-01-29 15:17:53 +01:00

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