mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(fennel): fix "collect" "icollect" "accumulate"
They are now anonymous nodes. Fixes #2707
This commit is contained in:
parent
8a5e5ca27a
commit
4b9aec69bd
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue