<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/phpdoc, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom?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(highlights): highlight @type in phpdoc</title>
<updated>2024-02-21T14:47:01Z</updated>
<author>
<name>gbprod</name>
<email>contact@gb-prod.fr</email>
</author>
<published>2024-02-21T13:59:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ca46eb3ac96cd96e963895004589f0c9b2a44491'/>
<id>urn:sha1:ca46eb3ac96cd96e963895004589f0c9b2a44491</id>
<content type='text'>
Currently, phpdoc types that are not union type are not highlighted, this change
allows to apply `@type` group to all types.
</content>
</entry>
<entry>
<title>fix: bump phpdoc parser and query</title>
<updated>2024-01-25T08:47:20Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-01-25T08:33:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=22025469b56ff189b777f33ee0be1c13a42323d2'/>
<id>urn:sha1:22025469b56ff189b777f33ee0be1c13a42323d2</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>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>fix(phpdoc): disable spell checking of attribute names (#5015)</title>
<updated>2023-10-22T01:21:51Z</updated>
<author>
<name>Tomasz N</name>
<email>przepompownia@users.noreply.github.com</email>
</author>
<published>2023-10-22T01:21:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ce2a9fb89a8ceef78310a67343d79c8f3d3c27ce'/>
<id>urn:sha1:ce2a9fb89a8ceef78310a67343d79c8f3d3c27ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(phpdoc): highlight optional type as @type</title>
<updated>2022-11-29T11:19:19Z</updated>
<author>
<name>gbprod</name>
<email>contact@gb-prod.fr</email>
</author>
<published>2022-11-29T10:27:04Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe'/>
<id>urn:sha1:31f70f51c7d9d93361d013bdd36b4e4dabfd7bfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(phpdoc): check spell within `text`</title>
<updated>2022-09-10T18:08:04Z</updated>
<author>
<name>przepompownia</name>
<email>przepompownia@users.noreply.github.com</email>
</author>
<published>2022-09-10T12:47:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=72d61cd9fababc011743abfb217240e077f0bc10'/>
<id>urn:sha1:72d61cd9fababc011743abfb217240e077f0bc10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(phpdoc) Improve keyword query</title>
<updated>2022-01-24T10:47:11Z</updated>
<author>
<name>Michael Härtl</name>
<email>haertl.mike@gmail.com</email>
</author>
<published>2022-01-24T10:38:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d3dbd4590ea52e3ae4f7a6b280280f65b404cc79'/>
<id>urn:sha1:d3dbd4590ea52e3ae4f7a6b280280f65b404cc79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parsers: add phpdoc parser (experimental)</title>
<updated>2022-01-20T14:37:44Z</updated>
<author>
<name>Michael Härtl</name>
<email>haertl.mike@gmail.com</email>
</author>
<published>2022-01-17T11:20:47Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d7c4ae886d90471b1839dd601887bdd6e882efd9'/>
<id>urn:sha1:d7c4ae886d90471b1839dd601887bdd6e882efd9</id>
<content type='text'>
</content>
</entry>
</feed>
