mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -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
|
(#any-of? @include
|
||||||
"require" "require-macros" "import-macros" "include"))
|
"require" "require-macros" "import-macros" "include"))
|
||||||
|
|
||||||
|
[
|
||||||
|
"collect"
|
||||||
|
"icollect"
|
||||||
|
"accumulate"
|
||||||
|
] @function.macro
|
||||||
|
|
||||||
((symbol) @function.macro
|
((symbol) @function.macro
|
||||||
(#any-of? @function.macro
|
(#any-of? @function.macro
|
||||||
"->" "->>" "-?>" "-?>>" "?." "accumulate" "collect" "doto" "icollect"
|
"->" "->>" "-?>" "-?>>" "?." "doto" "macro" "macrodebug" "partial" "pick-args"
|
||||||
"macro" "macrodebug" "partial" "pick-args" "pick-values" "with-open"))
|
"pick-values" "with-open"))
|
||||||
|
|
||||||
; Lua builtins
|
; Lua builtins
|
||||||
((symbol) @constant.builtin
|
((symbol) @constant.builtin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue