diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2024-05-26 11:29:35 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-05-26 11:59:56 +0200 |
| commit | ba149fa3b100bb05ff0185dd5e644f455e6696bf (patch) | |
| tree | eef84c5991f8ccf91281b7d7df55a89ab1aa4bec | |
| parent | feat(query): adapt to upstream changes (diff) | |
| download | nvim-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
| -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" |
