<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/http, branch v0.10.0</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/http?h=v0.10.0</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/http?h=v0.10.0'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-01-10T08:06:34Z</updated>
<entry>
<title>feat(http): fold queries</title>
<updated>2025-01-10T08:06:34Z</updated>
<author>
<name>Igor</name>
<email>igorlfs@ufmg.br</email>
</author>
<published>2025-01-10T03:04:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=057990eb245d90e6085dcc4d57705a20b34a03ea'/>
<id>urn:sha1:057990eb245d90e6085dcc4d57705a20b34a03ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(http): more comprehensive highlights</title>
<updated>2024-11-22T07:56:14Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-11-03T02:55:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2d5c122af9c3c842d74a137446dae8ff349206ac'/>
<id>urn:sha1:2d5c122af9c3c842d74a137446dae8ff349206ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(http): update injections queries (#7078)</title>
<updated>2024-08-31T16:52:23Z</updated>
<author>
<name>Seongmin Lee</name>
<email>60088301+boltlessengineer@users.noreply.github.com</email>
</author>
<published>2024-08-31T16:52:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b33a34e8839091986f775da2a78e11fab63b00bd'/>
<id>urn:sha1:b33a34e8839091986f775da2a78e11fab63b00bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(http): switch to new parser version (#7063)</title>
<updated>2024-08-21T07:08:45Z</updated>
<author>
<name>Alejandro</name>
<email>bloodbathalchemist@protonmail.com</email>
</author>
<published>2024-08-21T07:08:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0fd6d324828952eaa4596d0d3d8043acc401bc05'/>
<id>urn:sha1:0fd6d324828952eaa4596d0d3d8043acc401bc05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(http): update queries to parser changes (#6467)</title>
<updated>2024-04-19T07:24:29Z</updated>
<author>
<name>Alejandro</name>
<email>bloodbathalchemist@protonmail.com</email>
</author>
<published>2024-04-19T07:24:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=dd0c1185967c91ad7b6a44809e2136c2e40df949'/>
<id>urn:sha1:dd0c1185967c91ad7b6a44809e2136c2e40df949</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(http): switch to new parser version</title>
<updated>2024-03-17T22:46:59Z</updated>
<author>
<name>NTBBloodbath</name>
<email>bloodbathalchemist@protonmail.com</email>
</author>
<published>2024-03-17T11:27:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c4e0f290d744ceede4ec0c464a5f985e821b1502'/>
<id>urn:sha1:c4e0f290d744ceede4ec0c464a5f985e821b1502</id>
<content type='text'>
fix(http): use `@variable.member` for fields

fix(http): keep the comment injection

fix(http): keep `method` capture as `@function.method`

docs(README.md): update HTTP parser maintainers list

feat(http): remove redundant captures

cleanup(http): remove unneedeed highlighting captures
</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>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 xml &amp; dtd parsers</title>
<updated>2023-08-13T07:34:57Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2023-08-04T11:50:28Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5b3dd8cff1064db583ddd3edd314e94a02ea1bef'/>
<id>urn:sha1:5b3dd8cff1064db583ddd3edd314e94a02ea1bef</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(http): update parser queries from upstream</title>
<updated>2023-04-20T09:50:08Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-20T09:20:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c44a63ffdc213a5b56685a34502a00f56a2d061e'/>
<id>urn:sha1:c44a63ffdc213a5b56685a34502a00f56a2d061e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>injections(http): add comment injection</title>
<updated>2021-11-12T20:52:50Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-11-12T20:43:11Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8fe8415ae8b38d8a05f685bc09e496b143454444'/>
<id>urn:sha1:8fe8415ae8b38d8a05f685bc09e496b143454444</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: inherit json</title>
<updated>2021-11-12T20:52:50Z</updated>
<author>
<name>gegoune</name>
<email>dev@clog.rocks</email>
</author>
<published>2021-11-04T21:12:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bb0ef1848853c825dcf805a63ea98a648bb60b48'/>
<id>urn:sha1:bb0ef1848853c825dcf805a63ea98a648bb60b48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: address change requests</title>
<updated>2021-11-12T20:52:50Z</updated>
<author>
<name>gegoune</name>
<email>dev@clog.rocks</email>
</author>
<published>2021-11-04T13:16:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=599bdaf2f011580b75082f4896b60ff02411ea48'/>
<id>urn:sha1:599bdaf2f011580b75082f4896b60ff02411ea48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add http parser</title>
<updated>2021-11-12T20:52:50Z</updated>
<author>
<name>gegoune</name>
<email>dev@clog.rocks</email>
</author>
<published>2021-11-04T11:56:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a93c5b80d724f40da649f7e351234531e0e9fcb2'/>
<id>urn:sha1:a93c5b80d724f40da649f7e351234531e0e9fcb2</id>
<content type='text'>
All credit goes to @NTBBloodbath.

See: https://github.com/NTBBloodbath/rest.nvim/issues/75#issuecomment-960447966

Co-authored-by: NTBBloodbath &lt;bloodbathalchemist@protonmail.com&gt;
</content>
</entry>
</feed>
