highlights(fennel): fix "collect" "icollect" "accumulate"

They are now anonymous nodes.

Fixes #2707
This commit is contained in:
Stephan Seitz 2022-04-01 09:46:03 +02:00
parent 8a5e5ca27a
commit 4b9aec69bd

View file

@ -93,10 +93,16 @@
(#any-of? @include
"require" "require-macros" "import-macros" "include"))
[
"collect"
"icollect"
"accumulate"
] @function.macro
((symbol) @function.macro
(#any-of? @function.macro
"->" "->>" "-?>" "-?>>" "?." "accumulate" "collect" "doto" "icollect"
"macro" "macrodebug" "partial" "pick-args" "pick-values" "with-open"))
"->" "->>" "-?>" "-?>>" "?." "doto" "macro" "macrodebug" "partial" "pick-args"
"pick-values" "with-open"))
; Lua builtins
((symbol) @constant.builtin