<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/solidity, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/solidity?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/solidity?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-05-12T16:43:30Z</updated>
<entry>
<title>feat(solidity): add doxygen injections (#7853)</title>
<updated>2025-05-12T16:43:30Z</updated>
<author>
<name>Leo</name>
<email>leonard.paturel@openzeppelin.com</email>
</author>
<published>2025-05-12T16:43:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=066fd6505377e3fd4aa219e61ce94c2b8bdb0b79'/>
<id>urn:sha1:066fd6505377e3fd4aa219e61ce94c2b8bdb0b79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(solidity): add `abstract` keyword</title>
<updated>2025-05-12T16:43:10Z</updated>
<author>
<name>Leo</name>
<email>leonard.paturel@openzeppelin.com</email>
</author>
<published>2025-05-12T16:43:10Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0484f881c66fcac9ac517a5e62d99093e2e3702b'/>
<id>urn:sha1:0484f881c66fcac9ac517a5e62d99093e2e3702b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(solidity): remove spurious operators in highlight queries (#7412)</title>
<updated>2024-11-27T10:04:28Z</updated>
<author>
<name>JoranHonig</name>
<email>JoranHonig@users.noreply.github.com</email>
</author>
<published>2024-11-27T10:04:28Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8d4fdc5e47e2a4e00179e43f56221250ce365973'/>
<id>urn:sha1:8d4fdc5e47e2a4e00179e43f56221250ce365973</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: more comment injections</title>
<updated>2024-06-15T08:40:34Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-06-08T04:33:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9d68e876cce94fc9f8f8819da0c956a4429a3766'/>
<id>urn:sha1:9d68e876cce94fc9f8f8819da0c956a4429a3766</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(solidity): re-enable unbroken operators</title>
<updated>2024-05-26T09:59:56Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-05-26T09:29:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ba149fa3b100bb05ff0185dd5e644f455e6696bf'/>
<id>urn:sha1:ba149fa3b100bb05ff0185dd5e644f455e6696bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(solidity): disable broken operators</title>
<updated>2024-05-12T08:10:03Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-05-12T08:08:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c4f65272a971b9d5d6ac7ed4607e50dd6207923f'/>
<id>urn:sha1:c4f65272a971b9d5d6ac7ed4607e50dd6207923f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: more `@keyword.type` captures</title>
<updated>2024-05-01T07:59:50Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-04-23T19:23:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f58cae6c228e26681039253cb172de16cd764408'/>
<id>urn:sha1:f58cae6c228e26681039253cb172de16cd764408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(solidity): adapt queries to parser changes</title>
<updated>2024-04-13T18:04:38Z</updated>
<author>
<name>JoranHonig</name>
<email>JoranHonig@users.noreply.github.com</email>
</author>
<published>2024-04-13T16:46:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=3e1d836e0e5abe5c47d0cef67d51494e2e48d7ba'/>
<id>urn:sha1:3e1d836e0e5abe5c47d0cef67d51494e2e48d7ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(solidity): update queries from upstream (#6424)</title>
<updated>2024-04-10T07:22:05Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2024-04-10T07:22:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d90e11756da30959da59eeb8888ecf16e877d86a'/>
<id>urn:sha1:d90e11756da30959da59eeb8888ecf16e877d86a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights)!: `@keyword.storage` → `@keyword.modifier`</title>
<updated>2024-03-16T12:51:16Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2024-03-16T05:23:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=dccf31f9b1fbbbd09e6720c7d8f5f1a2433fd32d'/>
<id>urn:sha1:dccf31f9b1fbbbd09e6720c7d8f5f1a2433fd32d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier`</title>
<updated>2024-03-16T12:51:16Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2024-03-08T10:09:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=998b230a77b544761bae8aa7518d40b91a5c9559'/>
<id>urn:sha1:998b230a77b544761bae8aa7518d40b91a5c9559</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: query formatting</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-06T06:05:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9'/>
<id>urn:sha1:57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat!: align standard captures with upstream</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-12-24T09:00:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1ae9b0e4558fe7868f8cda2db65239cfb14836d0'/>
<id>urn:sha1:1ae9b0e4558fe7868f8cda2db65239cfb14836d0</id>
<content type='text'>
Problem: Sharing highlight queries with upstream tree-sitter and
Helix is difficult.

Solution: Where reasonable, use capture names in tree-sitter's standard
list or Helix's Atom-style hierarchy.

Specifically:

* tree-sitter "standard capture names"
  (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72):

  - `@parameter` -&gt; `@variable.parameter`
  - `@field` -&gt; `@variable.member`
  - `@namespace` -&gt; `@module`
  - `@float` -&gt; `@number.float`
  - `@symbol` -&gt; `@string.special.symbol`
  - `@string.regex` -&gt; `@string.regexp`
  - `@text.*` -&gt; `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below)
  - `@text.title` -&gt; `@markup.heading`
  - `@text.literal` -&gt; `@markup.raw`
  - `@text.reference` -&gt; `@markup.link`
  - `@text.uri` -&gt; `@markup.link.url` (in markup links)
  - `@string.special` -&gt; `@markup.link.label` (non-url links)
  - `@punctuation.special` -&gt; `@markup.list` (markdown lists only; move subitems from `@text.todo`)

* Helix captures
  (https://docs.helix-editor.com/master/themes.html#syntax-highlighting):

  - `@method` -&gt; `@function.method`
  - `@method.call` -&gt; `@function.method.call`
  - `@text.{todo,warning,note,danger}` -&gt; `@comment.{error,warning,hint,info,todo}`
  - `@text.diff.{add,delete,}` -&gt; `@diff.{plus,minus,delta}`
  - `@text.uri` -&gt; `@string.special.url` (outside markup)
  - `@preproc` -&gt; `@keyword.directive`
  - `@define` -&gt; `@keyword.directive`(`.define`?)
  - `@storageclass` -&gt; `@keyword.storage`
  - `@conditional` -&gt; `@keyword.conditional`
  - `@debug` -&gt; `@keyword.debug`
  - `@exception` -&gt; `@keyword.exception`
  - `@include` -&gt; `@keyword.import`
  - `@repeat` -&gt; `@keyword.repeat`

* cleanup

  - remove some redundant `@conceal` (but still allow it for conceal-only patterns)
  - remove obsolete `@error` (syntax linting is out of scope for this repo)
  - sort, cleanup capture list in `CONTRIBUTING.md`
</content>
</entry>
<entry>
<title>refactor: Remove all `(ERROR) @error` captures</title>
<updated>2023-10-25T16:18:50Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-10-25T07:45:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=107e61afb7129d637ea6c3c68b97a22194b0bf16'/>
<id>urn:sha1:107e61afb7129d637ea6c3c68b97a22194b0bf16</id>
<content type='text'>
As discussed in PR#5421, capturing `@error` is inconsistent, requiring
deep nesting (or priority) in order to correctly have red backgrounds to
it.

Some queries has this capture, some don't. For consistency purposes,
removing all of them is more preferable.

For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)`
to your custom queries.
</content>
</entry>
<entry>
<title>feat: add solidity folds</title>
<updated>2023-10-21T18:40:19Z</updated>
<author>
<name>Meet Mangukiya</name>
<email>meet@flamy.dev</email>
</author>
<published>2023-10-17T16:57:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cffa252f5e8f257d4952c0817c44fdaefd2c25a7'/>
<id>urn:sha1:cffa252f5e8f257d4952c0817c44fdaefd2c25a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>solidity: Update highlights.scm (#5453)</title>
<updated>2023-09-27T06:08:46Z</updated>
<author>
<name>zeroknots</name>
<email>102132718+zeroknots@users.noreply.github.com</email>
</author>
<published>2023-09-27T06:08:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=86d0b2b1c08ff93020b261fc96201b25eb3a9082'/>
<id>urn:sha1:86d0b2b1c08ff93020b261fc96201b25eb3a9082</id>
<content type='text'>
https://soliditylang.org/blog/2021/04/21/custom-errors/

error keyword was introduced in 0.8.4</content>
</entry>
<entry>
<title>fix(solidity): variable should not match last, tidy up highlights</title>
<updated>2023-04-25T18:19:44Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-25T17:09:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=82bcd8483e0b802bd5f639046c88aecfddbab508'/>
<id>urn:sha1:82bcd8483e0b802bd5f639046c88aecfddbab508</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: revert for solidity</title>
<updated>2023-03-21T06:23:52Z</updated>
<author>
<name>Zhizhen He</name>
<email>hezhizhen.yi@gmail.com</email>
</author>
<published>2023-03-21T06:19:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=181a580190d4684d5f6e34c500c0aa99258a04d1'/>
<id>urn:sha1:181a580190d4684d5f6e34c500c0aa99258a04d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: fix typo</title>
<updated>2023-03-21T06:23:52Z</updated>
<author>
<name>Zhizhen He</name>
<email>hezhizhen.yi@gmail.com</email>
</author>
<published>2023-03-21T05:50:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a1df50a79f0e422b3c99680071f32994893f3a3d'/>
<id>urn:sha1:a1df50a79f0e422b3c99680071f32994893f3a3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add `@comment.documentation` where applicable</title>
<updated>2023-03-05T22:15:32Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-03-02T13:06:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5a87bc98dabd0d38152a6fa774005f7ecbd40f1b'/>
<id>urn:sha1:5a87bc98dabd0d38152a6fa774005f7ecbd40f1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(solidity): use maintained parser and update highlights accordingly</title>
<updated>2023-02-24T21:05:33Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-02-24T12:42:04Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5c511dd1244fc8eeccf8920a5a4754ae01da296e'/>
<id>urn:sha1:5c511dd1244fc8eeccf8920a5a4754ae01da296e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: fix typos</title>
<updated>2023-02-23T19:39:43Z</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-02-23T19:30:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4612212c72a3fe683cbca2f99977ad63b942f70e'/>
<id>urn:sha1:4612212c72a3fe683cbca2f99977ad63b942f70e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(solidity): use more specific groups</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-10-28T14:26:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3'/>
<id>urn:sha1:08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(solidity): use `@function.call`/`@method.call`</title>
<updated>2022-09-11T11:16:06Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-08-29T21:49:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f9d1c68cf96c97441e17e01408a89d3e044dd683'/>
<id>urn:sha1:f9d1c68cf96c97441e17e01408a89d3e044dd683</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor solidity highlights.scm further</title>
<updated>2022-03-11T18:06:39Z</updated>
<author>
<name>YongJieYongJie</name>
<email>KhooYongJie@gmx.com</email>
</author>
<published>2022-03-11T17:11:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fc0b881f93851a79ae3506d54e0e3e368c98ce58'/>
<id>urn:sha1:fc0b881f93851a79ae3506d54e0e3e368c98ce58</id>
<content type='text'>
- Instead of @keyword, use @conditional, @exception, @return, @function
  as appropriate
- Standardize to using @field (instead of @property)for struct members
</content>
</entry>
<entry>
<title>Refactor solidity highlights.scm</title>
<updated>2022-03-11T18:06:39Z</updated>
<author>
<name>YongJieYongJie</name>
<email>KhooYongJie@gmx.com</email>
</author>
<published>2022-03-10T21:07:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8f3991065d4753c4b458fb19b9a2332f3d740c50'/>
<id>urn:sha1:8f3991065d4753c4b458fb19b9a2332f3d740c50</id>
<content type='text'>
- Use more specific/appropriate captures; change invalid captures
- Don't highlight punctuations in type names (e.g., the brackets in
  'bytes32[]')
</content>
</entry>
<entry>
<title>Add highlights query for Solidity</title>
<updated>2022-03-11T18:06:39Z</updated>
<author>
<name>YongJieYongJie</name>
<email>KhooYongJie@gmx.com</email>
</author>
<published>2022-03-10T11:14:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a180859eeadd52c05745022064ff423423c17bb5'/>
<id>urn:sha1:a180859eeadd52c05745022064ff423423c17bb5</id>
<content type='text'>
</content>
</entry>
</feed>
