From 0c1f579202781d5a917b6d9730256429656c4106 Mon Sep 17 00:00:00 2001 From: Alan Russell Date: Fri, 18 Jul 2025 08:53:23 +0100 Subject: [PATCH] Format function.builtin query --- runtime/queries/groq/highlights.scm | 36 ++++------------------------- 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/runtime/queries/groq/highlights.scm b/runtime/queries/groq/highlights.scm index 7a7d829c0..e3c9dca29 100644 --- a/runtime/queries/groq/highlights.scm +++ b/runtime/queries/groq/highlights.scm @@ -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"))