<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/css, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/css?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/css?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(css): do not fold top-level blocks (#7562)</title>
<updated>2025-02-19T17:12:46Z</updated>
<author>
<name>Michael Parque</name>
<email>michael.t.parque@outlook.com</email>
</author>
<published>2025-02-19T17:12:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c32b59a8fde33ced5b30ea97750336a6fcff402f'/>
<id>urn:sha1:c32b59a8fde33ced5b30ea97750336a6fcff402f</id>
<content type='text'>
Using (block) makes the fold behavior only work on the line that the
block starts not the start line of the statement, which is unideal when
the preceding statement spans multiple lines. instead, use all top-level
statements explicitly from https://github.com/tree-sitter/tree-sitter-css/blob/master/grammar.js</content>
</entry>
<entry>
<title>feat(css): highlight `@keyframes` name (#7569)</title>
<updated>2025-01-20T03:29:24Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2025-01-20T03:29:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=7edaaf98874c9a556c648815e21b53a662de68de'/>
<id>urn:sha1:7edaaf98874c9a556c648815e21b53a662de68de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: import statement folds for common languages</title>
<updated>2024-05-01T08:00:01Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-04-22T00:15:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9a47a523e3b9e49d3fa14d5743b9860a66eca731'/>
<id>urn:sha1:9a47a523e3b9e49d3fa14d5743b9860a66eca731</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(css): highlight square brackets</title>
<updated>2024-04-27T01:40:20Z</updated>
<author>
<name>Omar Valdez</name>
<email>80359343+ValdezFOmar@users.noreply.github.com</email>
</author>
<published>2024-04-27T01:40:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=466da58e5b87ff158220c7acb329a9e02402f6bc'/>
<id>urn:sha1:466da58e5b87ff158220c7acb329a9e02402f6bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier`</title>
<updated>2024-03-16T12:51:16Z</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2024-03-08T10:09:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=998b230a77b544761bae8aa7518d40b91a5c9559'/>
<id>urn:sha1:998b230a77b544761bae8aa7518d40b91a5c9559</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: format queries</title>
<updated>2024-01-21T14:55:02Z</updated>
<author>
<name>Phạm Huy Hoàng</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-21T13:05:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=77e298e4de607d69aa7f37dc6dcba6aee131ac7f'/>
<id>urn:sha1:77e298e4de607d69aa7f37dc6dcba6aee131ac7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(css): make the highlights more sensible</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2024-01-10T16:17:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=505a0e74cb82dfd1938dcc0eb2526c24abc345e2'/>
<id>urn:sha1:505a0e74cb82dfd1938dcc0eb2526c24abc345e2</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(css): tweak operator keyword highlights</title>
<updated>2023-11-23T00:11:45Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2023-11-22T22:53:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2a5f6c9eb733a5a847bb1890f620658547033515'/>
<id>urn:sha1:2a5f6c9eb733a5a847bb1890f620658547033515</id>
<content type='text'>
</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>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>perf: remove match where possible</title>
<updated>2023-04-21T22:24:17Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-21T08:06:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=85330918f05b3a4bd342a69063e7ef5fcdfadd2e'/>
<id>urn:sha1:85330918f05b3a4bd342a69063e7ef5fcdfadd2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use indent.X syntax for captures and properties of set directives</title>
<updated>2023-03-24T17:07:53Z</updated>
<author>
<name>George Harker</name>
<email>george@george-graphics.co.uk</email>
</author>
<published>2023-03-20T21:44:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cb568af5393241e5dbc9c19157c5df5e9ca9af2d'/>
<id>urn:sha1:cb568af5393241e5dbc9c19157c5df5e9ca9af2d</id>
<content type='text'>
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
</content>
</entry>
<entry>
<title>highlights(css): use more specific groups</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-10-22T09:30:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c2d9cf9926cc24b3e044c157f3b8c8ed310d2e92'/>
<id>urn:sha1:c2d9cf9926cc24b3e044c157f3b8c8ed310d2e92</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>highlights(css): fix property highlighting</title>
<updated>2022-09-10T20:02:07Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-08-29T20:53:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=7a3ecabf567a43b39ea9ffbe0955d5af2a13707e'/>
<id>urn:sha1:7a3ecabf567a43b39ea9ffbe0955d5af2a13707e</id>
<content type='text'>
Apply fix as suggested by https://github.com/binhtran432k

Fixes #3395

Co-authored-by: Trần Đức Bình &lt;binhtran432k@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Added fix for incorrect CSS indent after closing bracket</title>
<updated>2022-03-19T11:29:36Z</updated>
<author>
<name>Daniel Woznicki</name>
<email>danwoz@nettoolkit.com</email>
</author>
<published>2022-03-18T21:13:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b1380560a0f8fe339109ac33840eea5b0ac91cc4'/>
<id>urn:sha1:b1380560a0f8fe339109ac33840eea5b0ac91cc4</id>
<content type='text'>
Added a failing test for possible broken CSS syntax tree
</content>
</entry>
<entry>
<title>Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"</title>
<updated>2021-05-07T14:51:57Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-30T18:22:12Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=67f08570152792c6a4f0815e71a0093ad97f2725'/>
<id>urn:sha1:67f08570152792c6a4f0815e71a0093ad97f2725</id>
<content type='text'>
This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
</content>
</entry>
<entry>
<title>Comment: use `@combined` to create just one tree per buffer (#1252)</title>
<updated>2021-04-28T12:19:07Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-04-28T12:19:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4a7a713c527f57c355bc817f16fc6d955b8cce9b'/>
<id>urn:sha1:4a7a713c527f57c355bc817f16fc6d955b8cce9b</id>
<content type='text'>
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc</content>
</entry>
<entry>
<title>Fix invalid node type in CSS queries</title>
<updated>2021-03-16T17:52:43Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-03-07T17:53:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c7e8f76f3c424ba3fc7c6a2a80854125debb26ce'/>
<id>urn:sha1:c7e8f76f3c424ba3fc7c6a2a80854125debb26ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comment parser to highlight comment tags (#893)</title>
<updated>2021-03-12T16:21:46Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-03-12T16:21:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e4083fc8e11e6585f53d62eb71778cc2af464fad'/>
<id>urn:sha1:e4083fc8e11e6585f53d62eb71778cc2af464fad</id>
<content type='text'>
Closes #236</content>
</entry>
<entry>
<title>feat: use @ignore for comments and multiline strings</title>
<updated>2021-03-01T22:28:53Z</updated>
<author>
<name>elianiva</name>
<email>dicha.arkana03@gmail.com</email>
</author>
<published>2021-03-01T13:20:37Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0bf8f58cd2dc06e3996b191e4623bbdab43a601e'/>
<id>urn:sha1:0bf8f58cd2dc06e3996b191e4623bbdab43a601e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: added more fold queries</title>
<updated>2021-01-04T10:51:23Z</updated>
<author>
<name>elianiva</name>
<email>dicha.arkana03@gmail.com</email>
</author>
<published>2021-01-04T08:46:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=842077acf7f5f77c940c385270ccc5f318a548a0'/>
<id>urn:sha1:842077acf7f5f77c940c385270ccc5f318a548a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>css: add indent support</title>
<updated>2020-12-03T13:32:59Z</updated>
<author>
<name>Thanabodee Charoenpiriyakij</name>
<email>thanabodee.c@linecorp.com</email>
</author>
<published>2020-12-02T14:11:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=37da1c0a30ef1345ec1cfcea2226078fac533ab3'/>
<id>urn:sha1:37da1c0a30ef1345ec1cfcea2226078fac533ab3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(queries): use vim-match for non lua regexes</title>
<updated>2020-08-16T16:31:56Z</updated>
<author>
<name>Steven Sojka</name>
<email>steelsojka@gmail.com</email>
</author>
<published>2020-08-16T16:24:10Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ce43dbf54cdc017e6885381f38ea056f78c4e55b'/>
<id>urn:sha1:ce43dbf54cdc017e6885381f38ea056f78c4e55b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: use newly introduced consolidated syntax</title>
<updated>2020-06-20T13:03:39Z</updated>
<author>
<name>TravonteD</name>
<email>tman1300@aol.com</email>
</author>
<published>2020-06-19T13:59:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0f836e060266c73e77871bd85b91f4159556035d'/>
<id>urn:sha1:0f836e060266c73e77871bd85b91f4159556035d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- #76 update the predicate syntax for ruby and css</title>
<updated>2020-06-11T14:38:19Z</updated>
<author>
<name>TravonteD</name>
<email>tman1300@aol.com</email>
</author>
<published>2020-06-07T22:15:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=37f9866f6685a3a62536f857348202b280e28dbe'/>
<id>urn:sha1:37f9866f6685a3a62536f857348202b280e28dbe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add css highlight queries</title>
<updated>2020-06-02T19:11:35Z</updated>
<author>
<name>TravonteD</name>
<email>tman1300@aol.com</email>
</author>
<published>2020-05-30T14:51:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=58f5bdbe01ee14dc6187c649dd88947faa1c5296'/>
<id>urn:sha1:58f5bdbe01ee14dc6187c649dd88947faa1c5296</id>
<content type='text'>
</content>
</entry>
</feed>
