aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-05-26 11:29:35 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-05-26 11:59:56 +0200
commitba149fa3b100bb05ff0185dd5e644f455e6696bf (patch)
treeeef84c5991f8ccf91281b7d7df55a89ab1aa4bec /queries
parentfeat(query): adapt to upstream changes (diff)
downloadnvim-treesitter-ba149fa3b100bb05ff0185dd5e644f455e6696bf.tar
nvim-treesitter-ba149fa3b100bb05ff0185dd5e644f455e6696bf.tar.gz
nvim-treesitter-ba149fa3b100bb05ff0185dd5e644f455e6696bf.tar.bz2
nvim-treesitter-ba149fa3b100bb05ff0185dd5e644f455e6696bf.tar.lz
nvim-treesitter-ba149fa3b100bb05ff0185dd5e644f455e6696bf.tar.xz
nvim-treesitter-ba149fa3b100bb05ff0185dd5e644f455e6696bf.tar.zst
nvim-treesitter-ba149fa3b100bb05ff0185dd5e644f455e6696bf.zip
fix(solidity): re-enable unbroken operators
Diffstat (limited to 'queries')
-rw-r--r--queries/solidity/highlights.scm65
1 files changed, 33 insertions, 32 deletions
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"