diff --git a/queries/highlights.scm b/queries/highlights.scm index fe1a5f54..7e1d6252 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -1,5 +1,9 @@ ; Function calls +(call_expression + function: (identifier) @function.builtin + (.match? @function.builtin "^(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)$")) + (call_expression function: (identifier) @function)