41 lines
991 B
Lua
41 lines
991 B
Lua
-- TODO: gotta rewrite this cause it's actual dogshit, and I don't want to deal
|
|
-- with nerd fonts or folke anymore also add support for TODO(name):
|
|
|
|
return { "folke/todo-comments.nvim",
|
|
requires = "nvim-lua/plenary.nvim",
|
|
disable = not vim.fn.has("nvim-0.8.0"),
|
|
function()
|
|
require("todo-comments").setup {
|
|
keywords = {
|
|
FIX = {
|
|
icon = "# ",
|
|
alt = { "FIXME", "BUG" },
|
|
},
|
|
HACK = {
|
|
icon = "* ",
|
|
color = "warning",
|
|
},
|
|
WARN = {
|
|
icon = "! ",
|
|
color = "warning",
|
|
alt = { "WARNING", "XXX" },
|
|
},
|
|
NOTE = {
|
|
icon = "i ",
|
|
color = "hint",
|
|
alt = { "INFO", "TODO" },
|
|
},
|
|
PERF = {
|
|
icon = "@ ",
|
|
alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" },
|
|
},
|
|
TEST = {
|
|
icon = "@ ",
|
|
color = "test",
|
|
alt = { "TESTING", "PASSED", "FAILED" },
|
|
},
|
|
},
|
|
}
|
|
end
|
|
}
|