mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
Format function.builtin query
This commit is contained in:
parent
1bffee8dbb
commit
0c1f579202
1 changed files with 4 additions and 32 deletions
|
|
@ -125,35 +125,7 @@
|
|||
; Built-in functions (essential GROQ functions)
|
||||
(function_call
|
||||
(identifier) @function.builtin
|
||||
(#any-of? @function.builtin
|
||||
"count"
|
||||
"length"
|
||||
"defined"
|
||||
"references"
|
||||
"now"
|
||||
"dateTime"
|
||||
"coalesce"
|
||||
"unique"
|
||||
"max"
|
||||
"min"
|
||||
"sum"
|
||||
"avg"
|
||||
"round"
|
||||
"floor"
|
||||
"ceil"
|
||||
"abs"
|
||||
"sqrt"
|
||||
"upper"
|
||||
"lower"
|
||||
"string"
|
||||
"number"
|
||||
"boolean"
|
||||
"array"
|
||||
"object"
|
||||
"type"
|
||||
"global"
|
||||
"sanity"
|
||||
"path"
|
||||
"delta"
|
||||
"after"
|
||||
"before"))
|
||||
(#any-of? @function.builtin
|
||||
"count" "length" "defined" "references" "now" "dateTime" "coalesce" "unique" "max" "min" "sum"
|
||||
"avg" "round" "floor" "ceil" "abs" "sqrt" "upper" "lower" "string" "number" "boolean" "array"
|
||||
"object" "type" "global" "sanity" "path" "delta" "after" "before"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue