From ba149fa3b100bb05ff0185dd5e644f455e6696bf Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 26 May 2024 11:29:35 +0200 Subject: fix(solidity): re-enable unbroken operators --- queries/solidity/highlights.scm | 65 +++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 32 deletions(-) (limited to 'queries') 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" -- cgit v1.2.3-70-g09d2