<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/snakemake, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/snakemake?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/snakemake?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-03-06T17:47:57Z</updated>
<entry>
<title>feat(snakemake): add rules to locals (#7698)</title>
<updated>2025-03-06T17:47:57Z</updated>
<author>
<name>patricorgi</name>
<email>patricorgi@gmail.com</email>
</author>
<published>2025-03-06T17:47:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=16e8e197717cc6a89d7bea46d5e3cde954f1500e'/>
<id>urn:sha1:16e8e197717cc6a89d7bea46d5e3cde954f1500e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(snakemake): update highlights and indents</title>
<updated>2024-08-07T08:18:56Z</updated>
<author>
<name>Oliver Thomas</name>
<email>thomaso@ie-freiburg.mpg.de</email>
</author>
<published>2024-08-05T19:56:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=88aad97312787c11154afbe16068fc2b1e18b249'/>
<id>urn:sha1:88aad97312787c11154afbe16068fc2b1e18b249</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(snakemake): add wildcard flag</title>
<updated>2024-07-21T09:15:51Z</updated>
<author>
<name>Oliver Thomas</name>
<email>thomaso@ie-freiburg.mpg.de</email>
</author>
<published>2024-07-20T20:17:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=733fa85db27079ec2757183c5c840ba15a303e1f'/>
<id>urn:sha1:733fa85db27079ec2757183c5c840ba15a303e1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(snakemake): add rule_inheritance to folds</title>
<updated>2024-06-13T19:12:19Z</updated>
<author>
<name>Oliver Thomas</name>
<email>thomaso@ie-freiburg.mpg.de</email>
</author>
<published>2024-06-13T19:02:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cdc613c630598779dc9f975bae12a4dc7c001950'/>
<id>urn:sha1:cdc613c630598779dc9f975bae12a4dc7c001950</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(snakemake): add indentation queries</title>
<updated>2024-03-30T11:46:43Z</updated>
<author>
<name>Oliver Thomas</name>
<email>thomaso@ie-freiburg.mpg.de</email>
</author>
<published>2024-03-30T11:11:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6e0b031ebb212e7082bc3007f8b9614cb393465c'/>
<id>urn:sha1:6e0b031ebb212e7082bc3007f8b9614cb393465c</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(format): extra newline after modeline</title>
<updated>2024-02-29T14:05:30Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-02-18T15:00:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=62b0bb4f24ad09f535efe44cc9d088f90dcd2498'/>
<id>urn:sha1:62b0bb4f24ad09f535efe44cc9d088f90dcd2498</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: add Snakemake</title>
<updated>2023-09-13T01:29:22Z</updated>
<author>
<name>osthomas</name>
<email>8322329+osthomas@users.noreply.github.com</email>
</author>
<published>2023-09-13T01:29:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2461e5ac21c59950457fea4b3f9f184f0daa8913'/>
<id>urn:sha1:2461e5ac21c59950457fea4b3f9f184f0daa8913</id>
<content type='text'>
</content>
</entry>
</feed>
