ref(nvim): fennel-ized todo-comments

This commit is contained in:
Léana 江 2024-01-27 22:15:41 +01:00 committed by Léana 江
parent e1882f55fb
commit 93426c32df
2 changed files with 14 additions and 11 deletions

View file

@ -0,0 +1,14 @@
(local {: require-then} (require :helpers))
(let [config {:keywords {:FIX {:alt [:FIXME :BUG :FIXIT :ISSUE]
:color :error
:icon " "}
:HACK {:alt [:DEBUG] :color :warning :icon "!"}
:NOTE {:alt [:INFO] :color :hint :icon "·"}
:Q {:color :warning :icon "?"}
:TEST {:alt [:TESTING :PASSED :FAILED]
:color :test
:icon :T}
:TODO {:color :info :icon " "}
:WARN {:alt [:WARNING :XXX] :color :warning :icon "!"}}}]
(require-then :todo-comments #($.setup config)))