diff options
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | queries/solidity/highlights.scm | 65 |
2 files changed, 34 insertions, 33 deletions
diff --git a/lockfile.json b/lockfile.json index b7ddfb86e..48fa81ec5 100644 --- a/lockfile.json +++ b/lockfile.json @@ -648,7 +648,7 @@ "revision": "ba1b3868eaa960b945593404af9a7c2f296d3643" }, "solidity": { - "revision": "b5a23ead0f69d38b5c9a630f52f5c129132c16ed" + "revision": "e8bd851a3c95ff277e49be07d0e20dfa9ac3700c" }, "soql": { "revision": "c99ad4b16d112fea91745e3f1b769754239fdaba" diff --git a/queries/solidity/highlights.scm b/queries/solidity/highlights.scm index 37f2d6df0..1f1d2fe96 100644 --- a/queries/solidity/highlights.scm +++ b/queries/solidity/highlights.scm @@ -262,38 +262,39 @@ "=>" ] @punctuation.delimiter -; Operators: currently broken: https://github.com/JoranHonig/tree-sitter-solidity/issues/59 -;[ -; "&&" -; "||" -; ">>" -; ">>>" -; "<<" -; "&" -; "^" -; "|" -; "+" -; "-" -; "*" -; "/" -; "%" -; "**" -; "=" -; "<" -; "<=" -; "==" -; "!=" -; "!==" -; ">=" -; ">" -; "!" -; "~" -; "-" -; "+" -; "++" -; "--" -; ":=" -;] @operator +; Operators +[ + "&&" + "||" + ">>" + ">>>" + "<<" + "&" + "^" + "|" + "+" + "-" + "*" + "/" + "%" + "**" + "=" + "<" + "<=" + "==" + "!=" + "!==" + ">=" + ">" + "!" + "~" + "-" + "+" + "++" + "--" + ":=" +] @operator + [ "delete" "new" |
