Commit Graph

6 Commits (7cfa5480389c863f61c042b2e03165385bbe7c98)

Author SHA1 Message Date
Valentin B 380c7adcc0
feat(solidity): add missing operators for highlights (#10757)
* feat(solidity): add missing operators for highlights

* fix(solidity): remove invalid operator from highlight queries

* Revert "fix(solidity): remove invalid operator from highlight queries"

This reverts commit 466f38350c.

* feat(solidity): add highlight query for revert statements with custom errors

* feat(solidity): more precise matching for revert statements
7 months ago
Blaž Hrastnik 4fc0a4dafc Improve solidity highlighting 8 months ago
Valentin B b8ddb2f114
feat(solidity): add textobject queries for solidity (#10318)
* feat: add textobject queries for solidity

* feat(solidity): add parameter textobject query for call expressions

* feat(solidity): add more textobject queries for parameters

* feat(solidity): add yul function textobject query

* feat(solidity): add textobject query for emit statement arguments

* feat(solidity): add textobject query for revert call arguments

* feat(solidity): update tree-sitter grammar and fix typo

* docs: update auto-generated docs

* fix(solidity): fix identifiers highlight query priority

* feat(solidity): add "abstract" to keywords list

* feat(solidity): add highlight query for type alias

* feat(solidity): add variable builtin highlight queries
8 months ago
Blaž Hrastnik 20ed8c2595
tree-sitter-solidity: Use upstream, update queries 2 years ago
A-Walrus 1378b911b6
Fix some typos (#2978) 2 years ago
Slin Lee 3e78b8fdad
Add syntax highlighting for Solidity (#1854) 3 years ago