30 lines
1.2 KiB
Lua
30 lines
1.2 KiB
Lua
local g = vim.g
|
|
|
|
require('todo-comments').setup {
|
|
keywords = {
|
|
FIX = {
|
|
icon = " ", -- icon used for the sign, and in search results
|
|
color = "error", -- can be a hex color, or a named color (see below)
|
|
alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
|
|
-- signs = false, -- configure signs for some keywords individually
|
|
},
|
|
DONE = { icon = " ", color = "info" },
|
|
FEAT = { icon = " ", color = "warning", alt = { "NEED", "REQUEST" } },
|
|
WARN = { icon = " ", color = "error", alt = { "WARNING", "ERROR" } },
|
|
TODO = { icon = " ", color = "test", alt = { "TASK", "TBD" } },
|
|
NOTE = { icon = " ", color = "hint", alt = { "INFO" } },
|
|
SENG = { icon = " ", color = "test", alt = { "SOLUTIONS", "SE", "WORKAROUND" } },
|
|
},
|
|
highlight = {
|
|
comments_only = false,
|
|
},
|
|
colors = {
|
|
error = { "DiagnosticError", "ErrorMsg", "#DC2626" },
|
|
warning = { "DiagnosticWarning", "WarningMsg", "#ffba08" },
|
|
info = { "DiagnosticInfo", "#05eb42" },
|
|
hint = { "DiagnosticHint", "#ff12d7" },
|
|
default = { "Identifier", "#711fff" },
|
|
test = { "Identifier", "#FF00FF" }
|
|
},
|
|
}
|