<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/perl, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/perl?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/perl?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-03-19T08:48:48Z</updated>
<entry>
<title>* feat(perl): highlight hash keys as `@variable.member` in various contexts</title>
<updated>2025-03-19T08:48:48Z</updated>
<author>
<name>Veesh Goldman</name>
<email>rabbiveesh@gmail.com</email>
</author>
<published>2025-03-19T08:48:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f09a2215b8fed4c2e86f2dd1912e14166958c06a'/>
<id>urn:sha1:f09a2215b8fed4c2e86f2dd1912e14166958c06a</id>
<content type='text'>
also, injections for s///e should fully re-parse
</content>
</entry>
<entry>
<title>feat(perl): support more modern syntax</title>
<updated>2024-09-22T18:15:38Z</updated>
<author>
<name>Veesh Goldman</name>
<email>rabbiveesh@gmail.com</email>
</author>
<published>2024-09-22T18:15:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=20b5cbfa92cac93ab78f3fefeb6169e4ea303189'/>
<id>urn:sha1:20b5cbfa92cac93ab78f3fefeb6169e4ea303189</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(perl): update highlights and folds</title>
<updated>2024-08-07T13:30:44Z</updated>
<author>
<name>Paul Evans</name>
<email>leonerd@leonerd.org.uk</email>
</author>
<published>2024-08-07T13:30:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=3e0feeb062b29bb7d6d6df1e32ba28111c2bb734'/>
<id>urn:sha1:3e0feeb062b29bb7d6d6df1e32ba28111c2bb734</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(queries): Remove quotes from properties in set! directive</title>
<updated>2024-07-28T09:43:41Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-07-27T23:28:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=51bba660a89e0027929206b622c9c1cbdd995cfb'/>
<id>urn:sha1:51bba660a89e0027929206b622c9c1cbdd995cfb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(perl): deactivate spelling in shebangs</title>
<updated>2024-05-01T13:01:48Z</updated>
<author>
<name>Kai Moschcau</name>
<email>kai.moschcau@blecon.de</email>
</author>
<published>2024-04-29T12:58:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=57476501e2bda6f4fcaa481d1b34714bda13bcd7'/>
<id>urn:sha1:57476501e2bda6f4fcaa481d1b34714bda13bcd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(perl): activate spelling in comments</title>
<updated>2024-05-01T13:01:48Z</updated>
<author>
<name>Kai Moschcau</name>
<email>kai.moschcau@blecon.de</email>
</author>
<published>2024-04-29T12:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e99b79c9c1dfd88a0919c6d4d502c0fbb76fd02e'/>
<id>urn:sha1:e99b79c9c1dfd88a0919c6d4d502c0fbb76fd02e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights)!: enforce documented captures (#6232)</title>
<updated>2024-03-03T10:00:11Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-03-03T10:00:11Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=99ddf573531c4dbe53f743ecbc1595af5eb1d32f'/>
<id>urn:sha1:99ddf573531c4dbe53f743ecbc1595af5eb1d32f</id>
<content type='text'>
Problem: Allowing undocumented "secret" (sub)captures makes it harder
to write comprehensive colorschemes and catch inconsistent captures.

Solution: Only allow captures listed in CONTRIBUTING.md. Add useful
(cross-language) subcaptures and drop language-specific or too niche
ones.

Follow-up: Adding further `*.builtin` captures and changing queries to
use them.

Language-specific subcaptures should instead be added in user config or
a custom language plugin.
</content>
</entry>
<entry>
<title>feat(format-scripts): linewrap predicates</title>
<updated>2024-02-23T08:42:01Z</updated>
<author>
<name>再生花</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-02-23T08:42:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=31641d72a4c33536e9d5fc8f829d2ba84211af8a'/>
<id>urn:sha1:31641d72a4c33536e9d5fc8f829d2ba84211af8a</id>
<content type='text'>
"format-ignore".kick()</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>feat(perl): add more highlights</title>
<updated>2024-01-21T09:53:32Z</updated>
<author>
<name>Veesh Goldman</name>
<email>rabbiveesh@gmail.com</email>
</author>
<published>2024-01-20T20:05:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5d5eba78a7eee55df2c18d62cfc81ce9318bddd6'/>
<id>urn:sha1:5d5eba78a7eee55df2c18d62cfc81ce9318bddd6</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>perl: fix highlights for builtins</title>
<updated>2023-11-03T12:23:40Z</updated>
<author>
<name>Veesh Goldman</name>
<email>rabbiveesh@gmail.com</email>
</author>
<published>2023-11-02T19:58:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fca784da0eca70a4ed574d7e763e12c8f757ed7a'/>
<id>urn:sha1:fca784da0eca70a4ed574d7e763e12c8f757ed7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: bump perl</title>
<updated>2023-10-29T19:56:01Z</updated>
<author>
<name>Veesh Goldman</name>
<email>rabbiveesh@gmail.com</email>
</author>
<published>2023-10-29T19:39:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c36681bb496ebce2946867459ed08774cb61788c'/>
<id>urn:sha1:c36681bb496ebce2946867459ed08774cb61788c</id>
<content type='text'>
</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>chore(perl): update parser</title>
<updated>2023-10-23T18:40:18Z</updated>
<author>
<name>Veesh Goldman</name>
<email>rabbiveesh@gmail.com</email>
</author>
<published>2023-10-23T18:40:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=84544f5cd3b7c046ebe0db6763c9ce7f20f4fe23'/>
<id>urn:sha1:84544f5cd3b7c046ebe0db6763c9ce7f20f4fe23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(perl)!: switch to tree-sitter-perl org's parser</title>
<updated>2023-10-21T18:41:22Z</updated>
<author>
<name>Veesh Goldman</name>
<email>rabbiveesh@gmail.com</email>
</author>
<published>2023-10-17T19:32:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bb3f8f40b1443fb40665263e1b5b0658bc24be03'/>
<id>urn:sha1:bb3f8f40b1443fb40665263e1b5b0658bc24be03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore(injections)!: update injection syntax to 0.9</title>
<updated>2023-08-12T15:34:15Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-05-03T10:07:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=78b54eb7f6a9956d25a3911fa0dfd0cabfe2a4c5'/>
<id>urn:sha1:78b54eb7f6a9956d25a3911fa0dfd0cabfe2a4c5</id>
<content type='text'>
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter

- update health check
- update doc
</content>
</entry>
<entry>
<title>feat(perl): improve highlights</title>
<updated>2023-08-03T12:45:39Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2023-08-03T10:49:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=131f665f9008d69d130f76f77603886e75c4b146'/>
<id>urn:sha1:131f665f9008d69d130f76f77603886e75c4b146</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(perl): update highlights from upstream changes</title>
<updated>2023-08-01T07:13:09Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-01T07:04:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8e70f17f711afbef96b7a27b8c8ee08f7e5dc5e9'/>
<id>urn:sha1:8e70f17f711afbef96b7a27b8c8ee08f7e5dc5e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>perf: remove match where possible</title>
<updated>2023-04-21T22:24:17Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-21T08:06:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=85330918f05b3a4bd342a69063e7ef5fcdfadd2e'/>
<id>urn:sha1:85330918f05b3a4bd342a69063e7ef5fcdfadd2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(perl): update queries from upstream changes</title>
<updated>2023-03-27T17:49:44Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-03-27T17:30:37Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=47615a947ab2c40ac97dbd6082cac6de179256d0'/>
<id>urn:sha1:47615a947ab2c40ac97dbd6082cac6de179256d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights: create subscoping for ternary operator</title>
<updated>2022-12-02T20:42:11Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-12-02T19:22:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d6a2ecb8b7093d6f6673cb6748bce9214a5099d3'/>
<id>urn:sha1:d6a2ecb8b7093d6f6673cb6748bce9214a5099d3</id>
<content type='text'>
After https://github.com/nvim-treesitter/nvim-treesitter/issues/470,
we decided to use `@conditional` for ternary operator instead of
operator despite `@conditional` is documented for keywords only.
A sub-scoping can make it easier for people to highlight this operator
group differently.

Also unify the usage of `@conditional...` across languages.
</content>
</entry>
<entry>
<title>injections: add more regex injections</title>
<updated>2022-11-27T16:35:10Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-11-26T12:27:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9018fb26cc91c5e2349f94e39e8fdcfd43773891'/>
<id>urn:sha1:9018fb26cc91c5e2349f94e39e8fdcfd43773891</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights: use @preproc where appropriate</title>
<updated>2022-10-15T15:49:01Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-09-18T17:15:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9b43ab819c756f01d2977cd481bdcaead6867174'/>
<id>urn:sha1:9b43ab819c756f01d2977cd481bdcaead6867174</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(spell): upstream spell queries from spellsitter</title>
<updated>2022-09-06T11:44:19Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-09-06T10:56:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2a63ea5665a6de96acd31a045d9d4d73272ff5a9'/>
<id>urn:sha1:2a63ea5665a6de96acd31a045d9d4d73272ff5a9</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>Initial attempt at queries/perl/folds.scm</title>
<updated>2022-02-22T13:13:48Z</updated>
<author>
<name>Paul "LeoNerd" Evans</name>
<email>leonerd@leonerd.org.uk</email>
</author>
<published>2022-02-21T15:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=3533721282669e945b62b3ae9c53d4c5ffe16c76'/>
<id>urn:sha1:3533721282669e945b62b3ae9c53d4c5ffe16c76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add many perl keywords; highlight on those in preference to structural elements</title>
<updated>2022-02-22T13:13:48Z</updated>
<author>
<name>Paul "LeoNerd" Evans</name>
<email>leonerd@leonerd.org.uk</email>
</author>
<published>2022-02-21T15:30:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=09ea6ccd1d75e3896a66a2cbde6b24b7b1c6d902'/>
<id>urn:sha1:09ea6ccd1d75e3896a66a2cbde6b24b7b1c6d902</id>
<content type='text'>
</content>
</entry>
<entry>
<title>"::" should be of type "operator"</title>
<updated>2021-09-20T23:08:32Z</updated>
<author>
<name>Lucas Crownover</name>
<email>lcrownover127@gmail.com</email>
</author>
<published>2021-09-20T21:44:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ec31c7efabff07411d11b889bcc4bba88605db94'/>
<id>urn:sha1:ec31c7efabff07411d11b889bcc4bba88605db94</id>
<content type='text'>
swap constant for operator per treesitter recommendation</content>
</entry>
<entry>
<title>Separate special variables to catch up master</title>
<updated>2021-09-20T23:08:32Z</updated>
<author>
<name>delphinus</name>
<email>me@delphinus.dev</email>
</author>
<published>2021-08-30T08:52:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2f37720c8a4b46fa49df25b71345935bacc79959'/>
<id>urn:sha1:2f37720c8a4b46fa49df25b71345935bacc79959</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use @string.regex to highlight regex's</title>
<updated>2021-09-20T23:08:32Z</updated>
<author>
<name>delphinus</name>
<email>me@delphinus.dev</email>
</author>
<published>2021-08-30T03:36:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0aaf937802eda8d01410c37a5c839bc1b8e29f64'/>
<id>urn:sha1:0aaf937802eda8d01410c37a5c839bc1b8e29f64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add minimum implementation for highlights</title>
<updated>2021-09-20T23:08:32Z</updated>
<author>
<name>delphinus</name>
<email>me@delphinus.dev</email>
</author>
<published>2021-08-28T08:16:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ae9a9d60f155beca8580acf5b52b9da8f428356a'/>
<id>urn:sha1:ae9a9d60f155beca8580acf5b52b9da8f428356a</id>
<content type='text'>
</content>
</entry>
</feed>
