summaryrefslogtreecommitdiffstats
path: root/after/plugin/todo-comments.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--after/plugin/todo-comments.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/after/plugin/todo-comments.lua b/after/plugin/todo-comments.lua
new file mode 100644
index 0000000..af67d49
--- /dev/null
+++ b/after/plugin/todo-comments.lua
@@ -0,0 +1,18 @@
+local status_ok, todocomments = pcall(require, "todo-comments")
+if not status_ok then
+ return
+end
+
+todocomments.setup {
+ keywords = {
+ FIX = {
+ icon = " ", -- icon used for the sign, and in search results
+ },
+ TODO = { icon = " ", color = "info" },
+ HACK = { icon = "* ", color = "warning" },
+ WARN = { icon = "! ", color = "warning", alt = { "WARNING", "XXX" } },
+ PERF = { icon = " ", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
+ NOTE = { icon = "i ", color = "hint", alt = { "INFO" } },
+ TEST = { icon = "⏲ ", color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
+ },
+}