<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/ini, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/ini?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/ini?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2024-09-03T08:24:16Z</updated>
<entry>
<title>fix(highlights): section headings in ini, git_config editorconfig (#7108)</title>
<updated>2024-09-03T08:24:16Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-09-03T08:24:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5b8b126de02ebfd92e46ed5986b3e58e870b85de'/>
<id>urn:sha1:5b8b126de02ebfd92e46ed5986b3e58e870b85de</id>
<content type='text'>
Section headers should be `@markup.heading` in ini-like grammars and `@string.special.path` in editorconfig.</content>
</entry>
<entry>
<title>fix(ini): highlight setting value as `@string` (#7104)</title>
<updated>2024-08-31T17:14:13Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-08-31T17:14:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0b61eb492370ec619b9d646a2cd89bc3924bbf5f'/>
<id>urn:sha1:0b61eb492370ec619b9d646a2cd89bc3924bbf5f</id>
<content type='text'>
Values are not typed in INI files and are interpreted as literal strings.</content>
</entry>
<entry>
<title>fix(ini): Fix injection in comments (#7033)</title>
<updated>2024-08-11T15:56:24Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-08-11T15:56:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e5a05ba5e298cc1e1dad8eb8095b8d4d89a7f793'/>
<id>urn:sha1:e5a05ba5e298cc1e1dad8eb8095b8d4d89a7f793</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: more comment injections</title>
<updated>2024-06-15T08:40:34Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-06-08T04:33:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9d68e876cce94fc9f8f8819da0c956a4429a3766'/>
<id>urn:sha1:9d68e876cce94fc9f8f8819da0c956a4429a3766</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: @spell on comments</title>
<updated>2023-09-12T15:34:58Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2023-09-12T15:25:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9567185621e532a9e29a671c66a11011334b80ea'/>
<id>urn:sha1:9567185621e532a9e29a671c66a11011334b80ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>folds(ini): add folds.scm</title>
<updated>2023-01-21T00:05:57Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2023-01-20T20:15:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=a722cd1405d4f801737f4190970e6045e9e95a79'/>
<id>urn:sha1:a722cd1405d4f801737f4190970e6045e9e95a79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(ini): add highlights.scm</title>
<updated>2023-01-21T00:05:57Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2023-01-20T20:09:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d88c03abbb803682c81f2a680615e5005e20c60c'/>
<id>urn:sha1:d88c03abbb803682c81f2a680615e5005e20c60c</id>
<content type='text'>
</content>
</entry>
</feed>
