<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/scala/highlights.scm, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/scala/highlights.scm?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/scala/highlights.scm?h=fix%2Flua'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-05-12T16:43:40Z</updated>
<entry>
<title>feat!: drop modules, general refactor and cleanup</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-06-12T15:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=692b051b09935653befdb8f7ba8afdb640adf17b'/>
<id>urn:sha1:692b051b09935653befdb8f7ba8afdb640adf17b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(scala): remove unused rule</title>
<updated>2024-10-16T06:35:54Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2024-10-15T16:05:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=584d96b46b1d8938db9c7477dd6e4dd31c5b51e8'/>
<id>urn:sha1:584d96b46b1d8938db9c7477dd6e4dd31c5b51e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights): capture wildcard patterns as `@character.special` (#7153)</title>
<updated>2024-09-20T06:15:01Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-09-20T06:15:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=188b1a6d01fd9bcf04bf2bc932d611809b154acc'/>
<id>urn:sha1:188b1a6d01fd9bcf04bf2bc932d611809b154acc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights): capture wildcard imports as `@character.special`</title>
<updated>2024-08-01T08:24:40Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-08-01T08:24:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d13f0183ba93f9b5aba7359146f294abfffff9c3'/>
<id>urn:sha1:d13f0183ba93f9b5aba7359146f294abfffff9c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(scala): add some missing highlights</title>
<updated>2024-06-15T17:03:22Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-05-13T01:23:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c911f19d91079954affd34934fd0d4d1107c477f'/>
<id>urn:sha1:c911f19d91079954affd34934fd0d4d1107c477f</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>refactor(format): drop extra indentation for field</title>
<updated>2024-03-21T14:51:26Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-03-21T11:44:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=722617e6726c1508adadf83d531f54987c703be0'/>
<id>urn:sha1:722617e6726c1508adadf83d531f54987c703be0</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: format queries</title>
<updated>2024-01-21T14:55:02Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-21T13:05:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=77e298e4de607d69aa7f37dc6dcba6aee131ac7f'/>
<id>urn:sha1:77e298e4de607d69aa7f37dc6dcba6aee131ac7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(highlights): improve member/property distinction</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2024-01-10T16:05:37Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fa38f4e6f94b4e67fb80af21178dba3b422efb12'/>
<id>urn:sha1:fa38f4e6f94b4e67fb80af21178dba3b422efb12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(highlights): improve consistency</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2024-01-09T09:50:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2f38c36294fde19a901b17589b153898b8a075e5'/>
<id>urn:sha1:2f38c36294fde19a901b17589b153898b8a075e5</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>feat(scala): sync highlights with latest upstream (#4926)</title>
<updated>2023-06-09T08:15:06Z</updated>
<author>
<name>Chris Kipp</name>
<email>ckipp@pm.me</email>
</author>
<published>2023-06-09T08:15:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5944fc821ac590ddb8073b3f9243a432105237b0'/>
<id>urn:sha1:5944fc821ac590ddb8073b3f9243a432105237b0</id>
<content type='text'>
This accounts for a correction in interpolations and also adding support
for `self_type`.

This is a follow-up to #4920.</content>
</entry>
<entry>
<title>fix(scala): add `block_comment`</title>
<updated>2023-06-06T14:36:09Z</updated>
<author>
<name>Domas Poliakas</name>
<email>domas123123@gmail.com</email>
</author>
<published>2023-06-06T14:36:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ab3bf7d95615098f47596ab245282c03149195e7'/>
<id>urn:sha1:ab3bf7d95615098f47596ab245282c03149195e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(scala): add support for using directives (#4893)</title>
<updated>2023-06-02T13:13:30Z</updated>
<author>
<name>Chris Kipp</name>
<email>ckipp@pm.me</email>
</author>
<published>2023-06-02T13:13:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2cbe8a4296612b2cd603548a31b020f013be512c'/>
<id>urn:sha1:2cbe8a4296612b2cd603548a31b020f013be512c</id>
<content type='text'>
This accounts for the updates in https://github.com/tree-sitter/tree-sitter-scala/pull/273.</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>refactor(scala): update scala highlights for uppercase identifiers</title>
<updated>2023-01-21T16:59:30Z</updated>
<author>
<name>Chris Kipp</name>
<email>ckipp@pm.me</email>
</author>
<published>2023-01-21T09:41:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a943661be809c837719146671809e0286a090a5b'/>
<id>urn:sha1:a943661be809c837719146671809e0286a090a5b</id>
<content type='text'>
This is a small change that comes from the discussion we had in
https://github.com/tree-sitter/tree-sitter-scala/discussions/168#discussioncomment-4718624.
The idea here is that we're sort of making an assumption on what an
uppercase identifier is in Scala and more times than not, it's actually
a `@type`. So this changes the `@constant` capture to a `@type` one. You
can find the full context in the linked discussion.
</content>
</entry>
<entry>
<title>scala: add interpolator query  (#4175)</title>
<updated>2023-01-18T11:06:32Z</updated>
<author>
<name>Chris Kipp</name>
<email>ckipp@pm.me</email>
</author>
<published>2023-01-18T11:06:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=28aa6ba5547aa028a7df45940c7a979614b37568'/>
<id>urn:sha1:28aa6ba5547aa028a7df45940c7a979614b37568</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sync with latest Scala and add binding</title>
<updated>2023-01-15T17:46:06Z</updated>
<author>
<name>Chris Kipp</name>
<email>ckipp@pm.me</email>
</author>
<published>2023-01-15T17:12:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1c89f9b5bc885ff0e2b1cdb7ff40847784b1436b'/>
<id>urn:sha1:1c89f9b5bc885ff0e2b1cdb7ff40847784b1436b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(scala): update the Scala highlight queries</title>
<updated>2023-01-14T20:56:56Z</updated>
<author>
<name>Chris Kipp</name>
<email>ckipp@pm.me</email>
</author>
<published>2023-01-12T11:52:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=add6f9abe2d8b3f76b8bc0116bdd1d5f8a24f9fd'/>
<id>urn:sha1:add6f9abe2d8b3f76b8bc0116bdd1d5f8a24f9fd</id>
<content type='text'>
There has been a lot of changes recently to the Scala grammar and we've
been merging in a handful of things before syncing the actual generated
parser. We are currently at a stage where we're going to sync
everything, but there are some breaking changes that are included in
https://github.com/tree-sitter/tree-sitter-scala/pull/135, so when that
commit gets synced here stuff will break. We've taken the queries that
existed here and have been building off of them in the actual upstream
repo. This will hopefully make the transition smooth and updates the
queries to ensure that there is no breakage. It's recommended to wait
until that pr is merged, synced here, and then merge this in around the
same time.

Co-authored-by: eugene yokota &lt;eed3si9n@gmail.com&gt;
Co-authored-by: Anton Sviridov &lt;keynmol@gmail.com&gt;
</content>
</entry>
<entry>
<title>highlights(scala): 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-30T09:56:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=abd7f85040ffaf7d2947e38bc130c98b70d1a85b'/>
<id>urn:sha1:abd7f85040ffaf7d2947e38bc130c98b70d1a85b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(spell): support more languages</title>
<updated>2022-09-26T12:47:12Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-09-26T09:19:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=37398c7d68826c8d6ae3f85cc52d83fd3dee4f84'/>
<id>urn:sha1:37398c7d68826c8d6ae3f85cc52d83fd3dee4f84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split func/method definition from calls in several programming language queries</title>
<updated>2022-08-03T19:05:30Z</updated>
<author>
<name>lfenzo</name>
<email>lfenzo@protonmail.com</email>
</author>
<published>2022-07-30T00:09:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c784720917bacb6716ce35ef07d464f5da738dd7'/>
<id>urn:sha1:c784720917bacb6716ce35ef07d464f5da738dd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prefer lua-match over match</title>
<updated>2021-11-23T09:02:06Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2021-11-18T09:51:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=011ac894ec5b9e36563d8629fb7734f43ddb27a8'/>
<id>urn:sha1:011ac894ec5b9e36563d8629fb7734f43ddb27a8</id>
<content type='text'>
as string.find is much quicker than vim.regex:match*
</content>
</entry>
<entry>
<title>chore: fix typos</title>
<updated>2021-11-02T22:47:48Z</updated>
<author>
<name>Dundar Göc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2021-11-01T21:35:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6a4fdb317d42a8462621764ff97ad3bc8ff496cf'/>
<id>urn:sha1:6a4fdb317d42a8462621764ff97ad3bc8ff496cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add scala folds</title>
<updated>2021-09-04T02:36:30Z</updated>
<author>
<name>Stevan Milic</name>
<email>stevan.milic@tradecore.com</email>
</author>
<published>2021-09-02T11:24:37Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8c105dedec9c6671697b5e68cd96d34a726db76d'/>
<id>urn:sha1:8c105dedec9c6671697b5e68cd96d34a726db76d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update scala highlights</title>
<updated>2021-09-04T02:36:30Z</updated>
<author>
<name>Stevan Milic</name>
<email>stevan.milic@tradecore.com</email>
</author>
<published>2021-09-01T14:55:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=59f881fff8da25e97f8a2e252c3a45ae131ac35d'/>
<id>urn:sha1:59f881fff8da25e97f8a2e252c3a45ae131ac35d</id>
<content type='text'>
* add highlights for imports

* add highlights for type constructors

* add highlights for constants

* add highlights for interpolation string

* add highlights for comments through injection
</content>
</entry>
<entry>
<title>update scala highlights (#1760)</title>
<updated>2021-08-28T19:07:44Z</updated>
<author>
<name>Stevan Milic</name>
<email>stevan.milic@yahoo.com</email>
</author>
<published>2021-08-28T19:07:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a90e5f4c5f7eb0d87b9bafa1825d31b1fc3a2581'/>
<id>urn:sha1:a90e5f4c5f7eb0d87b9bafa1825d31b1fc3a2581</id>
<content type='text'>
* add type highlights

* add call expression highlights

* add function definition highlights

* add expression highlights

* add literals highlights

* add operator highlights

* add punctuation highlights

* add comment highlights

Co-authored-by: Stevan Milic &lt;stevan.milic@tradecore.com&gt;</content>
</entry>
<entry>
<title>add keywords to scala highlights (#1662)</title>
<updated>2021-08-25T23:38:45Z</updated>
<author>
<name>Stuart Mashaal</name>
<email>stumash@users.noreply.github.com</email>
</author>
<published>2021-08-25T23:38:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4f2265632becabcd2c5b1791fa31ef278f1e496c'/>
<id>urn:sha1:4f2265632becabcd2c5b1791fa31ef278f1e496c</id>
<content type='text'>
* add keywords to scala highlights

* special capture for special keywords

* add while to 'repeat' capture

* pr cleanup, exmaples in CONTRIBUTING.md

* add backquotes for consistency in docs

* group @repeat keywords, fix null

* comment-out 'macro' and 'forSome'

* fix 'this' and 'super' keyword

* remove accidental files :facepalm:

* update revision

* fix "super" and "this"

* godammit these .metals files are killing me

* why did I commit this???

Co-authored-by: Stuart Mashaal &lt;smashaal@hopper.com&gt;</content>
</entry>
</feed>
