From c4f65272a971b9d5d6ac7ed4607e50dd6207923f Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 12 May 2024 10:08:06 +0200 Subject: fix(solidity): disable broken operators --- queries/solidity/highlights.scm | 65 ++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/queries/solidity/highlights.scm b/queries/solidity/highlights.scm index 1f1d2fe96..37f2d6df0 100644 --- a/queries/solidity/highlights.scm +++ b/queries/solidity/highlights.scm @@ -262,39 +262,38 @@ "=>" ] @punctuation.delimiter -; Operators -[ - "&&" - "||" - ">>" - ">>>" - "<<" - "&" - "^" - "|" - "+" - "-" - "*" - "/" - "%" - "**" - "=" - "<" - "<=" - "==" - "!=" - "!==" - ">=" - ">" - "!" - "~" - "-" - "+" - "++" - "--" - ":=" -] @operator - +; Operators: currently broken: https://github.com/JoranHonig/tree-sitter-solidity/issues/59 +;[ +; "&&" +; "||" +; ">>" +; ">>>" +; "<<" +; "&" +; "^" +; "|" +; "+" +; "-" +; "*" +; "/" +; "%" +; "**" +; "=" +; "<" +; "<=" +; "==" +; "!=" +; "!==" +; ">=" +; ">" +; "!" +; "~" +; "-" +; "+" +; "++" +; "--" +; ":=" +;] @operator [ "delete" "new" -- cgit v1.2.3-70-g09d2