<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/make, branch v0.10.0</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/make?h=v0.10.0</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/make?h=v0.10.0'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-02-27T08:53:09Z</updated>
<entry>
<title>feat(make): fold `define` statements.</title>
<updated>2025-02-27T08:53:09Z</updated>
<author>
<name>Andreas Hartmann</name>
<email>hartan@7x.de</email>
</author>
<published>2025-02-27T07:56:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a83032cee117b2df9848c6d65b67e5db1de89f34'/>
<id>urn:sha1:a83032cee117b2df9848c6d65b67e5db1de89f34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(make): highlight more special characters</title>
<updated>2024-08-26T07:38:30Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-08-25T22:55:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=54becf661a12598fa9a9244cdeadb0e162daf335'/>
<id>urn:sha1:54becf661a12598fa9a9244cdeadb0e162daf335</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: standardize and document export keywords</title>
<updated>2024-05-13T07:16:31Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-05-13T01:00:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432'/>
<id>urn:sha1:d5a1c2b0c8ec5bb377a41c1c414b315d6b3e9432</id>
<content type='text'>
Many export keywords are captured as `@keyword.import`. This commit
makes it so they are all captured like that, and mentions it in the
documentation.
</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-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>fix(format): handle list with 300 nodes</title>
<updated>2024-01-30T15:59:27Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-30T15:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5f950cdcb82d2cf74e6b30338897b3a4897f52b3'/>
<id>urn:sha1:5f950cdcb82d2cf74e6b30338897b3a4897f52b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(make): highlight order-only prerequisite pipe</title>
<updated>2024-01-27T00:07:19Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-01-26T23:27:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e0edcbb1d27b679a0f48f2557db655855ba5434c'/>
<id>urn:sha1:e0edcbb1d27b679a0f48f2557db655855ba5434c</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(make): highlight phony prerequisites as functions</title>
<updated>2023-11-29T10:31:42Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2023-11-27T20:51:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8f16c39f5b439bd9540336c4d5da705d180e34b9'/>
<id>urn:sha1:8f16c39f5b439bd9540336c4d5da705d180e34b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(make): give targets the function highlight</title>
<updated>2023-11-29T10:31:42Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2023-11-27T16:15:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fb101ed49d4b9e0e6661a24b636a6d874f8de49d'/>
<id>urn:sha1:fb101ed49d4b9e0e6661a24b636a6d874f8de49d</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>fix(make/highlights): add `define` and operators</title>
<updated>2023-06-03T20:54:28Z</updated>
<author>
<name>Tyler Miller</name>
<email>tmillr@proton.me</email>
</author>
<published>2023-06-01T09:38:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5ac8cf8ee596ddc29e0392e1ed28dbc5f10245d8'/>
<id>urn:sha1:5ac8cf8ee596ddc29e0392e1ed28dbc5f10245d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(make): fix captures</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-11-16T16:23:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e3f376ed6796288d1161a1361a60388289771a4c'/>
<id>urn:sha1:e3f376ed6796288d1161a1361a60388289771a4c</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>fix(fold): don't include whitespace end regions</title>
<updated>2022-09-12T10:49:51Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-04-21T09:48:47Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2eaf18826988f921ddb39e4a2e7d23d95bb0e52a'/>
<id>urn:sha1:2eaf18826988f921ddb39e4a2e7d23d95bb0e52a</id>
<content type='text'>
Some languages that are difficult to parse via Treesitter may
incorrectly include whitespace lines at the end of regions. This can
makes the calculated folds sub-optimal.

To recitfy, use a custom directive (trim), to calculate the range with
the trailing whitespace lines removed. Note this only works if the
region end column is 0.

Also added folds for Make.
</content>
</entry>
<entry>
<title>make: add substitution_reference @operator</title>
<updated>2022-09-03T12:55:14Z</updated>
<author>
<name>Chinmay Dalal</name>
<email>dalal.chinmay.0101@gmail.com</email>
</author>
<published>2022-09-01T19:05:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=84a7219d16c80d736598a3f33acbe0fb6b163403'/>
<id>urn:sha1:84a7219d16c80d736598a3f33acbe0fb6b163403</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(make): add all special targets</title>
<updated>2022-01-07T21:28:16Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-01-06T15:15:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c090007a881f4cba6b98f5cff407855ed8d8dea9'/>
<id>urn:sha1:c090007a881f4cba6b98f5cff407855ed8d8dea9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(lang): add make</title>
<updated>2021-12-14T13:59:38Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2021-12-14T10:47:47Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=567c644e5372d661ed36937ce7db6dc7155d97d1'/>
<id>urn:sha1:567c644e5372d661ed36937ce7db6dc7155d97d1</id>
<content type='text'>
</content>
</entry>
</feed>
