diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-04-01 09:46:03 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-04-01 16:58:05 +0200 |
| commit | 4b9aec69bdca88707631614ba30a1ed052ff7369 (patch) | |
| tree | 4982610714a73d6182217426e821ca34041c6506 /queries | |
| parent | 8a5e5ca27a14f4aabe1ba2d88cd2974c59418d5d (diff) | |
highlights(fennel): fix "collect" "icollect" "accumulate"
They are now anonymous nodes.
Fixes #2707
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/fennel/highlights.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/queries/fennel/highlights.scm b/queries/fennel/highlights.scm index 48a33990..7322e55c 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 |
