diff --git a/queries/jsonnet/highlights.scm b/queries/jsonnet/highlights.scm index eb8d22be9..4267c988f 100644 --- a/queries/jsonnet/highlights.scm +++ b/queries/jsonnet/highlights.scm @@ -30,13 +30,33 @@ ":::" ] @punctuation.delimiter -(expr - operator: (_) @operator) +(unaryop) @operator [ "+" + "-" + "*" + "/" + "%" + "^" + "==" + "!=" + "<=" + ">=" + "<" + ">" "=" + "&" + "|" + "<<" + ">>" + "&&" + "||" ] @operator +"for" @repeat + +"function" @keyword.function + "in" @keyword.operator [