From 4b9aec69bdca88707631614ba30a1ed052ff7369 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Fri, 1 Apr 2022 09:46:03 +0200 Subject: [PATCH] highlights(fennel): fix "collect" "icollect" "accumulate" They are now anonymous nodes. Fixes #2707 --- queries/fennel/highlights.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/queries/fennel/highlights.scm b/queries/fennel/highlights.scm index 48a33990e..7322e55c3 100644 --- a/queries/fennel/highlights.scm +++ b/queries/fennel/highlights.scm @@ -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