mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nvim): fennel-ized todo-comments
This commit is contained in:
parent
e1882f55fb
commit
93426c32df
2 changed files with 14 additions and 11 deletions
14
.config/nvim/fnl/plugins/_todo-comments.fnl
Normal file
14
.config/nvim/fnl/plugins/_todo-comments.fnl
Normal 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)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue