<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/python, 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(python): highlight all types of docstrings (#7788)</title>
<updated>2025-04-03T07:35:41Z</updated>
<author>
<name>Jakob Zahn</name>
<email>jakob.zahn@mailbox.org</email>
</author>
<published>2025-04-03T07:35:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=997288c55253e27f782d991099490f80205d65bf'/>
<id>urn:sha1:997288c55253e27f782d991099490f80205d65bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use order instead of priority</title>
<updated>2025-03-21T07:58:45Z</updated>
<author>
<name>dcho</name>
<email>dcho.null@gmail.com</email>
</author>
<published>2025-03-19T22:39:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bc728ecf253d7cbf1aef9eacac2f5341827856c5'/>
<id>urn:sha1:bc728ecf253d7cbf1aef9eacac2f5341827856c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): prioritize builtin functions</title>
<updated>2025-03-21T07:58:45Z</updated>
<author>
<name>dcho</name>
<email>dcho.null@gmail.com</email>
</author>
<published>2025-03-19T22:22:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d0a56e367712a6c055103adeffdff0b80c937e7c'/>
<id>urn:sha1:d0a56e367712a6c055103adeffdff0b80c937e7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): don't highlight parameter name as builtin (#7732)</title>
<updated>2025-03-13T08:21:55Z</updated>
<author>
<name>Salomon Popp</name>
<email>hi@salomonpopp.me</email>
</author>
<published>2025-03-13T08:21:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=683816f14718b257666b29f792a8d330936cf5c1'/>
<id>urn:sha1:683816f14718b257666b29f792a8d330936cf5c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): highlight function calls correctly (#7728)</title>
<updated>2025-03-12T08:22:33Z</updated>
<author>
<name>Salomon Popp</name>
<email>hi@salomonpopp.me</email>
</author>
<published>2025-03-12T08:22:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1a314a58d6d7695d226b56f6b61b1596993d5ac7'/>
<id>urn:sha1:1a314a58d6d7695d226b56f6b61b1596993d5ac7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): don't highlight attribute name as builtin (#7712)</title>
<updated>2025-03-11T07:48:33Z</updated>
<author>
<name>Salomon Popp</name>
<email>hi@salomonpopp.me</email>
</author>
<published>2025-03-11T07:48:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cf0eabc16cf32d69f7612d0e023ef210d84cdde6'/>
<id>urn:sha1:cf0eabc16cf32d69f7612d0e023ef210d84cdde6</id>
<content type='text'>
* fix(python): don't highlight attribute name as builtin

* fix(python): highlight `@variable.member` correctly for member access context

* test: add test

* test: expand test

* docs: update comment

* refactor: change order, remove priority override

* style: remove extra newline</content>
</entry>
<entry>
<title>feat(snakemake): add rules to locals (#7698)</title>
<updated>2025-03-06T17:47:57Z</updated>
<author>
<name>patricorgi</name>
<email>patricorgi@gmail.com</email>
</author>
<published>2025-03-06T17:47:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=16e8e197717cc6a89d7bea46d5e3cde954f1500e'/>
<id>urn:sha1:16e8e197717cc6a89d7bea46d5e3cde954f1500e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(python): highlight modules</title>
<updated>2024-11-21T15:48:16Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-10-29T06:45:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8a74ac9aead72ef7a870908f1517b48f2bb25ac7'/>
<id>urn:sha1:8a74ac9aead72ef7a870908f1517b48f2bb25ac7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights): capture wildcard patterns as `@character.special` (#7153)</title>
<updated>2024-09-20T06:15:01Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-09-20T06:15:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=188b1a6d01fd9bcf04bf2bc932d611809b154acc'/>
<id>urn:sha1:188b1a6d01fd9bcf04bf2bc932d611809b154acc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(highlights): capture wildcard imports as `@character.special`</title>
<updated>2024-08-01T08:24:40Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-08-01T08:24:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d13f0183ba93f9b5aba7359146f294abfffff9c3'/>
<id>urn:sha1:d13f0183ba93f9b5aba7359146f294abfffff9c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(queries): Remove quotes from properties in set! directive</title>
<updated>2024-07-28T09:43:41Z</updated>
<author>
<name>Omar Valdez</name>
<email>omarantoniovaldezf2@gmail.com</email>
</author>
<published>2024-07-27T23:28:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=51bba660a89e0027929206b622c9c1cbdd995cfb'/>
<id>urn:sha1:51bba660a89e0027929206b622c9c1cbdd995cfb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(python): Improved python indentation (#6859)</title>
<updated>2024-07-16T11:13:41Z</updated>
<author>
<name>Grace Petryk</name>
<email>gracepetryk99@gmail.com</email>
</author>
<published>2024-07-16T11:13:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f16a77583047d6d3ea684092c679bbe88398cb01'/>
<id>urn:sha1:f16a77583047d6d3ea684092c679bbe88398cb01</id>
<content type='text'>
* feat: improve python indentation

* use lua-match

* revert concatenated_string changes, handle function def hanging indents

* lint

* add delimiters to param query

* add test cases</content>
</entry>
<entry>
<title>refactor(python): merge docstring queries</title>
<updated>2024-06-28T08:06:52Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2024-06-28T06:41:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ec6307e5b042c73c5a26a75c7b6737b8efa85493'/>
<id>urn:sha1:ec6307e5b042c73c5a26a75c7b6737b8efa85493</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(awk,cmake,python,r,starlark): deactivate spelling in shebangs</title>
<updated>2024-05-01T13:01:48Z</updated>
<author>
<name>Kai Moschcau</name>
<email>kai.moschcau@blecon.de</email>
</author>
<published>2024-04-29T12:56:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=60c2b084c2646d0664fd7fce9418a01d387dd713'/>
<id>urn:sha1:60c2b084c2646d0664fd7fce9418a01d387dd713</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: more `@keyword.type` captures</title>
<updated>2024-05-01T07:59:50Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-04-23T19:23:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f58cae6c228e26681039253cb172de16cd764408'/>
<id>urn:sha1:f58cae6c228e26681039253cb172de16cd764408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): captures inner string contents with spell </title>
<updated>2024-04-17T04:23:55Z</updated>
<author>
<name>Colin Kennedy</name>
<email>colinvfx@gmail.com</email>
</author>
<published>2024-04-17T04:23:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=037c6af78fb50ec5ca9401c3fce437b95db8e09d'/>
<id>urn:sha1:037c6af78fb50ec5ca9401c3fce437b95db8e09d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): add staticmethod to builtin decorators</title>
<updated>2024-03-29T23:30:13Z</updated>
<author>
<name>vsajko</name>
<email>vsajko@gmail.com</email>
</author>
<published>2024-03-29T23:30:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c65413f2ac20d1d4b91fe4eb32d9d25525b34b83'/>
<id>urn:sha1:c65413f2ac20d1d4b91fe4eb32d9d25525b34b83</id>
<content type='text'>
</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(python): better try-except indentation (#6097)</title>
<updated>2024-02-14T17:39:59Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-02-14T17:39:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d96bf9d522369eaf4ad57e607f134e51084ee1ad'/>
<id>urn:sha1:d96bf9d522369eaf4ad57e607f134e51084ee1ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(python): allow comments before module docstring</title>
<updated>2024-01-25T22:28:11Z</updated>
<author>
<name>Jongwook Choi</name>
<email>wookayin@gmail.com</email>
</author>
<published>2024-01-25T21:14:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=cb79d2446196d25607eb1d982c96939abdf67b8e'/>
<id>urn:sha1:cb79d2446196d25607eb1d982c96939abdf67b8e</id>
<content type='text'>
Example:

  ```python
  #!/usr/bin/env/python
  # some comment before module docstring
  # Copyright (c) LICENSE foo bar

  """module docstring."""
  ```

Python indeed recognizes it:

  ```
  $ python -c 'import testfile; print(testfile.__doc__)'
  module docstring.
  ```
</content>
</entry>
<entry>
<title>chore(python): update member lua pattern</title>
<updated>2024-01-24T06:21:39Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2024-01-24T06:07:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=55562407b69c36c3a429c12bc1d6da231f700cfb'/>
<id>urn:sha1:55562407b69c36c3a429c12bc1d6da231f700cfb</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(python): add support for typed (kw)args (PEP 484) (#5875)</title>
<updated>2024-01-19T16:21:57Z</updated>
<author>
<name>Zeb Nicholls</name>
<email>zebedee.nicholls@climate-energy-college.org</email>
</author>
<published>2024-01-19T16:21:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=4a4dbe1cb1da34d87fc42a40aaf8e218af4cfe0f'/>
<id>urn:sha1:4a4dbe1cb1da34d87fc42a40aaf8e218af4cfe0f</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>refactor: manual pre-cleanup</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-04T18:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=edee83272efe9b597bc27e8060539cdffa3b12a8'/>
<id>urn:sha1:edee83272efe9b597bc27e8060539cdffa3b12a8</id>
<content type='text'>
Moving comments, adding `format-ignore` to lines that will be better
with it
</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(injections): add printf format strings</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2023-08-19T16:28:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=17fae3f4a3c81d17c3b40dfa815cca77116b81d0'/>
<id>urn:sha1:17fae3f4a3c81d17c3b40dfa815cca77116b81d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(locals)!: switch to upstream captures</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-07-22T13:29:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5'/>
<id>urn:sha1:5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): restrict typed parameter highlight</title>
<updated>2023-12-14T18:05:40Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2023-12-14T12:38:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ab818bf5a2ee21515ade9afcf428e98056b6197b'/>
<id>urn:sha1:ab818bf5a2ee21515ade9afcf428e98056b6197b</id>
<content type='text'>
Only the name is a parameter and not the value
</content>
</entry>
<entry>
<title>fix(python): highlight variadic lambda parameters</title>
<updated>2023-12-14T18:05:40Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2023-12-14T09:37:34Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2583eb351ba5dab9ab06489d371987518e1d018f'/>
<id>urn:sha1:2583eb351ba5dab9ab06489d371987518e1d018f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(python): `@string.regex` capture, injection improvements (#5697)</title>
<updated>2023-11-20T16:26:18Z</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2023-11-20T16:26:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1610b1aafb9b7b3a7b54c853ed45c6cb1a3d0df2'/>
<id>urn:sha1:1610b1aafb9b7b3a7b54c853ed45c6cb1a3d0df2</id>
<content type='text'>
* feat(python): `@string.regex` capture, injection improvements

* fix(python): match regex only for first argument of re module

* chore(python): remove unneeded capture

Co-authored-by: Santos Gallegos &lt;stsewd@proton.me&gt;

* fix(python): only highlight string content itself as regex

---------

Co-authored-by: Santos Gallegos &lt;stsewd@proton.me&gt;</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(python): update parser &amp; highlights</title>
<updated>2023-08-17T00:28:11Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-16T21:53:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=0e27391e900a3efddfeebb37babc62e1e5dca595'/>
<id>urn:sha1:0e27391e900a3efddfeebb37babc62e1e5dca595</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python): right content for regex injection</title>
<updated>2023-08-16T16:25:51Z</updated>
<author>
<name>TheLeoP</name>
<email>eugenio2305@hotmail.com</email>
</author>
<published>2023-08-14T15:50:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=922c396b2600653b8af12780077340768a0404fb'/>
<id>urn:sha1:922c396b2600653b8af12780077340768a0404fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python,starlark): update parsers &amp; add escape_interpolation</title>
<updated>2023-08-16T07:23:24Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-08-16T07:05:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=64d1696d6d2e389e99542bddf1579e527b000398'/>
<id>urn:sha1:64d1696d6d2e389e99542bddf1579e527b000398</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(python): fields should not match uppercase-beginning names</title>
<updated>2023-04-29T23:38:30Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-29T22:57:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9bfc966769f593cc55faea36e2c500ecb4304203'/>
<id>urn:sha1:9bfc966769f593cc55faea36e2c500ecb4304203</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Python else elif dedent (#4618)</title>
<updated>2023-04-29T08:35:35Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-04-29T08:35:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1ca9b938c1c3d8b2c64a168f6a5419b8f3870410'/>
<id>urn:sha1:1ca9b938c1c3d8b2c64a168f6a5419b8f3870410</id>
<content type='text'>
* feat(python): add interactive else/elif dedent

* fixup

* add test</content>
</entry>
<entry>
<title>fix(python,starlark): builtin types should come after types</title>
<updated>2023-04-25T07:04:05Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-24T04:38:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=87faf372eb517077cc600c4e653e4fb3252d02ac'/>
<id>urn:sha1:87faf372eb517077cc600c4e653e4fb3252d02ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(python,starlark): highlight type conversions as `@function.macro`</title>
<updated>2023-04-25T07:04:05Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-24T04:30:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=01b42a1a57b020f18c2bf73fb545a3a7833166c9'/>
<id>urn:sha1:01b42a1a57b020f18c2bf73fb545a3a7833166c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(python,starlark): update field match pattern</title>
<updated>2023-04-25T07:04:05Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-04-22T00:45:47Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5ab25d8a1f759d6d0a825acc653f2d1c2679e0df'/>
<id>urn:sha1:5ab25d8a1f759d6d0a825acc653f2d1c2679e0df</id>
<content type='text'>
</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>feat(python): add break/continue dedent</title>
<updated>2023-03-25T04:31:57Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-03-25T00:51:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c9ef5e58f7d59aba875324825ff47900d0be61f2'/>
<id>urn:sha1:c9ef5e58f7d59aba875324825ff47900d0be61f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(python): add match-case indents</title>
<updated>2023-03-25T04:31:57Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-03-25T00:29:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1ffa01985651f6a5ba88d01e56f09cb76ff6e79a'/>
<id>urn:sha1:1ffa01985651f6a5ba88d01e56f09cb76ff6e79a</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>split delimiter into open_delimiter and close_delimiter</title>
<updated>2023-03-24T17:07:53Z</updated>
<author>
<name>George Harker</name>
<email>george@george-graphics.co.uk</email>
</author>
<published>2023-03-20T01:55:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b4fcc611753bd443d30a75c1797a93268faa8aba'/>
<id>urn:sha1:b4fcc611753bd443d30a75c1797a93268faa8aba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(indent)!: Rework indent, aligned indent</title>
<updated>2023-03-24T17:07:53Z</updated>
<author>
<name>George Harker</name>
<email>george@george-graphics.co.uk</email>
</author>
<published>2023-03-20T01:09:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d1333dd7e51729a581fed3e429fa035bff77a3db'/>
<id>urn:sha1:d1333dd7e51729a581fed3e429fa035bff77a3db</id>
<content type='text'>
indents now use @indent.X style captures, and indent.PROP for properties to set on those captures, as documented in the help.

Captures are:

indent.auto
indent.begin
indent.end
indent.dedent
indent.branch
indent.ignore
indent.align
indent.zero

Properties are:

indent.immediate
indent.start_at_same_line
indent.open_delimiter
indent.close_delimiter
indent.increment
indent.avoid_last_matching_next

Multiple opening delims on one line and multiple closing on a line are collapsed so as not to over indent,

The final line of @indent.align blocks which must in some cases be treated specially to avoid clashing with the next line is treated the same regardless of whether the @indent.align capture actually uses aligned indentation or just normal indentation. The indent.avoid_last_matching_next property controls this.

Adjust python to use these.

List, set, dict and tuple all use @indent.align which permits both hanging and aligned styles.

Finally, try: on it’s own will indent when typing live but make no guaranteeds about whole-file formatting.

Includes lucario387:fix-align-indent
</content>
</entry>
<entry>
<title>fix(python): add object as `@type.builtin`</title>
<updated>2023-03-22T09:27:28Z</updated>
<author>
<name>Anthony Shi</name>
<email>69449791+anthony-S93@users.noreply.github.com</email>
</author>
<published>2023-03-22T07:07:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd'/>
<id>urn:sha1:9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(python): add "return" patterns to @indent_end</title>
<updated>2023-03-16T12:41:19Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-03-16T10:04:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=01e8a5145160620140c3c57d285ccb2cfe067540'/>
<id>urn:sha1:01e8a5145160620140c3c57d285ccb2cfe067540</id>
<content type='text'>
`return ...` is usually the last line of a
function/statement, so mark some possible patterns of `return` with
`@indent_end` to dedent the line after it
</content>
</entry>
<entry>
<title>fix(python): add missing @indent_end</title>
<updated>2023-03-16T07:46:01Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-03-15T23:39:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f5ddd8f92e0222f96b88c6012453eee33e02728a'/>
<id>urn:sha1:f5ddd8f92e0222f96b88c6012453eee33e02728a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: change folding algorithm to fix Python indents</title>
<updated>2023-03-15T21:44:59Z</updated>
<author>
<name>George Harker</name>
<email>george@george-graphics.co.uk</email>
</author>
<published>2023-03-14T19:25:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fa0644667ea7ee7a72efdb69c471de4953a11019'/>
<id>urn:sha1:fa0644667ea7ee7a72efdb69c471de4953a11019</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add `@string.documentation` where applicable</title>
<updated>2023-03-05T22:15:32Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-03-01T17:26:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=95bcd6a8fa1baa0824d44b697ba05bcc0b97bd34'/>
<id>urn:sha1:95bcd6a8fa1baa0824d44b697ba05bcc0b97bd34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat!: add `@keyword.coroutine` capture</title>
<updated>2023-03-03T15:07:52Z</updated>
<author>
<name>Amaan Qureshi</name>
<email>amaanq12@gmail.com</email>
</author>
<published>2023-02-24T11:37:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=33ba346e60c3151fcdafc55d0e547556dc803c03'/>
<id>urn:sha1:33ba346e60c3151fcdafc55d0e547556dc803c03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update highlights.scm for Python</title>
<updated>2023-03-03T03:54:45Z</updated>
<author>
<name>Anthony Shi</name>
<email>69449791+anthony-S93@users.noreply.github.com</email>
</author>
<published>2023-03-03T03:37:21Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=8894d78f63a589b7fca609e42d682e32067b2448'/>
<id>urn:sha1:8894d78f63a589b7fca609e42d682e32067b2448</id>
<content type='text'>
Added new keywords "is not" and "not in"</content>
</entry>
<entry>
<title>python(highlights): adapt query to parser change</title>
<updated>2023-02-28T19:27:09Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-02-28T19:14:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f95ffd09ed35880c3a46ad2b968df361fa592a76'/>
<id>urn:sha1:f95ffd09ed35880c3a46ad2b968df361fa592a76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(python): fix captures</title>
<updated>2022-11-26T11:17:51Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-11-21T13:06:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=14fa6e015ebdfb81aea80c3effaa9914ee33729d'/>
<id>urn:sha1:14fa6e015ebdfb81aea80c3effaa9914ee33729d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(python): add "except*"</title>
<updated>2022-10-25T10:14:53Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-10-24T21:24:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c9241287719ccd38741850765649a25b09bdb4c2'/>
<id>urn:sha1:c9241287719ccd38741850765649a25b09bdb4c2</id>
<content type='text'>
Added in https://github.com/tree-sitter/tree-sitter-python/pull/176

About the feature https://realpython.com/python311-exception-groups/#exception-groups-and-except-in-python-311
</content>
</entry>
<entry>
<title>highlights: use @preproc where appropriate</title>
<updated>2022-10-15T15:49:01Z</updated>
<author>
<name>ObserverOfTime</name>
<email>chronobserver@disroot.org</email>
</author>
<published>2022-09-18T17:15:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9b43ab819c756f01d2977cd481bdcaead6867174'/>
<id>urn:sha1:9b43ab819c756f01d2977cd481bdcaead6867174</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>feat(spell): upstream spell queries from spellsitter</title>
<updated>2022-09-06T11:44:19Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-09-06T10:56:27Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2a63ea5665a6de96acd31a045d9d4d73272ff5a9'/>
<id>urn:sha1:2a63ea5665a6de96acd31a045d9d4d73272ff5a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split func/method definition from calls in python highlighting query</title>
<updated>2022-08-03T19:05:30Z</updated>
<author>
<name>lfenzo</name>
<email>lfenzo@protonmail.com</email>
</author>
<published>2022-07-24T22:18:11Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=ae87408513827fa653d749d5ff4cb0da184804e4'/>
<id>urn:sha1:ae87408513827fa653d749d5ff4cb0da184804e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: keep cls variable highlighting consistent in class methods</title>
<updated>2022-06-14T20:35:14Z</updated>
<author>
<name>Ryan Barth</name>
<email>ryan@barth.tech</email>
</author>
<published>2022-06-12T01:58:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e6ff4c80849a951c976511abe28c52ae24dd89e3'/>
<id>urn:sha1:e6ff4c80849a951c976511abe28c52ae24dd89e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>python(folds): fold whole functions not only body</title>
<updated>2022-05-15T17:14:52Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-06-29T19:34:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c9ebd16c2884c3ab7463c6cafa0385971db7456b'/>
<id>urn:sha1:c9ebd16c2884c3ab7463c6cafa0385971db7456b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Python: highlight future import (#2936)</title>
<updated>2022-05-13T21:46:06Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2022-05-13T21:46:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=f1373051e554cc4642cda719c8023e4e8508eb2d'/>
<id>urn:sha1:f1373051e554cc4642cda719c8023e4e8508eb2d</id>
<content type='text'>
* Python: highlight future import

* Use constant.builtin</content>
</entry>
<entry>
<title>Python: highlight raise from statement</title>
<updated>2022-05-01T08:06:13Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2022-05-01T01:10:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=132405f18fc85def8e5e2c5ad085a7f5fcb54880'/>
<id>urn:sha1:132405f18fc85def8e5e2c5ad085a7f5fcb54880</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixup! highlights(python): highlight exception keywords</title>
<updated>2022-04-07T21:24:18Z</updated>
<author>
<name>Ferdinand Ratajczak</name>
<email>ferdinand@gymglish.com</email>
</author>
<published>2022-04-07T20:47:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=74a455c01ea961c170590bf3166cd3b97a0cfda8'/>
<id>urn:sha1:74a455c01ea961c170590bf3166cd3b97a0cfda8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(python): highlight exception keywords</title>
<updated>2022-04-07T21:24:18Z</updated>
<author>
<name>Ferdinand Ratajczak</name>
<email>ferdinand@fratajcz.dev</email>
</author>
<published>2022-03-22T11:36:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1fb68f76af4fbbae923008e7531938fd44fb631e'/>
<id>urn:sha1:1fb68f76af4fbbae923008e7531938fd44fb631e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(python): "from" in yield should be `@keyword.return`</title>
<updated>2022-04-01T15:00:21Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-04-01T14:50:57Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b8d1c2445a1f8799ed1320ab59d121f78150ad6d'/>
<id>urn:sha1:b8d1c2445a1f8799ed1320ab59d121f78150ad6d</id>
<content type='text'>
Fixes #2712
</content>
</entry>
<entry>
<title>locals(python): adapt as_pattern to upstream change</title>
<updated>2022-02-07T21:36:46Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-02-07T21:24:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fbcfa7ebee8fceb22830a08648a36ef849cc1c3c'/>
<id>urn:sha1:fbcfa7ebee8fceb22830a08648a36ef849cc1c3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: Allow re-parsing in Python, XFAIL `\` indentation test</title>
<updated>2022-02-06T18:42:57Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-02-06T12:47:23Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=2caac447205be44edb761edf26385d4c42ef4070'/>
<id>urn:sha1:2caac447205be44edb761edf26385d4c42ef4070</id>
<content type='text'>
</content>
</entry>
<entry>
<title>indents: allow aligned_indent for unfinished calls in C and Python</title>
<updated>2022-02-05T17:54:55Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-01-22T13:50:51Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=059fbc487c62a5e109143254b720a5dc33201a34'/>
<id>urn:sha1:059fbc487c62a5e109143254b720a5dc33201a34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(python): add support for pattern matching</title>
<updated>2022-01-28T18:11:20Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-12-03T18:10:11Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c4e3564ea31183ddcd00d6192efb2879977b420e'/>
<id>urn:sha1:c4e3564ea31183ddcd00d6192efb2879977b420e</id>
<content type='text'>
Fixes #2080
Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140
</content>
</entry>
<entry>
<title>feat(indent): support `@aligned_indent` for python</title>
<updated>2022-01-21T09:51:51Z</updated>
<author>
<name>Munif Tanjim</name>
<email>hello@muniftanjim.dev</email>
</author>
<published>2022-01-18T21:06:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bb60706433e593f976fb6cfee3b3a6910ce5bd2c'/>
<id>urn:sha1:bb60706433e593f976fb6cfee3b3a6910ce5bd2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: rewrite indent module</title>
<updated>2022-01-21T09:51:51Z</updated>
<author>
<name>Munif Tanjim</name>
<email>hello@muniftanjim.dev</email>
</author>
<published>2022-01-18T15:17:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c0110e34aa8ef53480c7aac6ffa5b9f8227a96bd'/>
<id>urn:sha1:c0110e34aa8ef53480c7aac6ffa5b9f8227a96bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove Python docstring injections</title>
<updated>2022-01-04T22:15:30Z</updated>
<author>
<name>Rafik Draoui</name>
<email>rafik@rafik.ca</email>
</author>
<published>2021-12-27T01:54:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=9b262596e05eb1a129a717022b309cd1ad531345'/>
<id>urn:sha1:9b262596e05eb1a129a717022b309cd1ad531345</id>
<content type='text'>
These injections lead to inconsistent highlighting since some edge cases
aren't handled (as mentioned in the PR description that introduced the
injections [0]). Besides, not all Python projects use reStructuredText
syntax in docstrings.

If someone still wants to use them, they can extend the base injection
queries through `after/queries/` [1] or enable them with
`vim.treesitter.set_query`.

See also: https://github.com/nvim-treesitter/nvim-treesitter/pull/1204

[0]: https://github.com/nvim-treesitter/nvim-treesitter/pull/917
[1]: https://github.com/nvim-treesitter/nvim-treesitter/tree/ad69e2528ac382b7cbf28f1ac7ee450981734ab0#adding-queries
</content>
</entry>
<entry>
<title>Update queries</title>
<updated>2021-12-22T20:17:28Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-12-22T18:26:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=56634f49ab3d8122153c8c5582c581fb6a6af075'/>
<id>urn:sha1:56634f49ab3d8122153c8c5582c581fb6a6af075</id>
<content type='text'>
- Don't use the old form for predicates
- Update some invalid queries
</content>
</entry>
<entry>
<title>highlights(python): Improve self and cls highlight (#2134)</title>
<updated>2021-12-18T21:49:30Z</updated>
<author>
<name>Fabian</name>
<email>f.vioel@gmail.com</email>
</author>
<published>2021-12-18T21:49:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e01c7ce9727b9d18b71b41cc792cb4719e469598'/>
<id>urn:sha1:e01c7ce9727b9d18b71b41cc792cb4719e469598</id>
<content type='text'>
1. This function simplifies an unnecessary lua-match usage.
2. Fixes an accidental change, where "cls" was changed to "class" (fe4f320b66)
3. Match functions, which have have a decorator.
4. But exclude @staticmethod
5. Only highlight "cls" as @variable.builtin when the decorator is @classmethod

This might be a bit to complicated and some of this not to useful,
as this existing rule:

```scm
 ((identifier) @variable.builtin
  (#eq? @variable.builtin "self"))
```

overwrites the queries anyway.</content>
</entry>
<entry>
<title>Prefer lua-match over match</title>
<updated>2021-11-23T09:02:06Z</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2021-11-18T09:51:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=011ac894ec5b9e36563d8629fb7734f43ddb27a8'/>
<id>urn:sha1:011ac894ec5b9e36563d8629fb7734f43ddb27a8</id>
<content type='text'>
as string.find is much quicker than vim.regex:match*
</content>
</entry>
<entry>
<title>Python: highlight semicolon</title>
<updated>2021-11-12T18:51:04Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-11-12T18:26:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6888242b989dd463d2c170614bdb3391820030ea'/>
<id>urn:sha1:6888242b989dd463d2c170614bdb3391820030ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: fix typos</title>
<updated>2021-11-02T22:47:48Z</updated>
<author>
<name>Dundar Göc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2021-11-01T21:35:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6a4fdb317d42a8462621764ff97ad3bc8ff496cf'/>
<id>urn:sha1:6a4fdb317d42a8462621764ff97ad3bc8ff496cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update queries/python/highlights.scm</title>
<updated>2021-11-01T15:54:46Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-11-01T15:46:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6d08b25f0e1e054a06241e2897a45fffe9fe6f8d'/>
<id>urn:sha1:6d08b25f0e1e054a06241e2897a45fffe9fe6f8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "feat: add `del` keyword for highlights"</title>
<updated>2021-11-01T15:54:46Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-11-01T15:45:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=df06643aa1fbf236d0dc3e3c964379bb4902f90c'/>
<id>urn:sha1:df06643aa1fbf236d0dc3e3c964379bb4902f90c</id>
<content type='text'>
This reverts commit 385193d41fe6b74fe0e3698588ae54545d1cd88b.
</content>
</entry>
<entry>
<title>feat: add `del` keyword for highlights</title>
<updated>2021-11-01T12:19:27Z</updated>
<author>
<name>Ashish Panigrahi</name>
<email>ashish.panigrahi@protonmail.com</email>
</author>
<published>2021-10-31T07:12:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=385193d41fe6b74fe0e3698588ae54545d1cd88b'/>
<id>urn:sha1:385193d41fe6b74fe0e3698588ae54545d1cd88b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Python: highlight interpolation escaped chars</title>
<updated>2021-10-22T07:21:42Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-10-01T02:06:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=10419ee747512a5189a6755925a456025228435b'/>
<id>urn:sha1:10419ee747512a5189a6755925a456025228435b</id>
<content type='text'>
Support for these was just added in the grammar.
</content>
</entry>
<entry>
<title>Python: fix class highlights (#1548)</title>
<updated>2021-07-11T20:06:52Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-07-11T20:06:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=948fa6a26033ba8a18fb528d5c26db4a16317fc0'/>
<id>urn:sha1:948fa6a26033ba8a18fb528d5c26db4a16317fc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Highlights(python): Add `@keyword.function`</title>
<updated>2021-07-05T22:53:40Z</updated>
<author>
<name>Sergio Alejandro Vargas</name>
<email>savargasqu+git@unal.edu.co</email>
</author>
<published>2021-06-17T18:33:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=017760113a2c1276245e414b3f4fe4fb183c7ef0'/>
<id>urn:sha1:017760113a2c1276245e414b3f4fe4fb183c7ef0</id>
<content type='text'>
Use `@keyword.function` for `def` and `lambda`
</content>
</entry>
<entry>
<title>feat(keywords) merge return and yield into keyword.return group</title>
<updated>2021-07-04T19:49:17Z</updated>
<author>
<name>antonk52</name>
<email>halloy52@gmail.com</email>
</author>
<published>2021-07-04T17:24:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=90f15d9bf750e35666e029174481dafbe5fde817'/>
<id>urn:sha1:90f15d9bf750e35666e029174481dafbe5fde817</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(keywords) add keyword.return &amp; keyword.yield</title>
<updated>2021-07-04T19:49:17Z</updated>
<author>
<name>antonk52</name>
<email>halloy52@gmail.com</email>
</author>
<published>2021-07-04T16:55:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=bd9095e96986fbb65829a3dbc598f9b35d9b7db2'/>
<id>urn:sha1:bd9095e96986fbb65829a3dbc598f9b35d9b7db2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>python(highlights): don't use type for APP</title>
<updated>2021-07-01T20:50:33Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-06-29T19:28:32Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=6d5b4f19f37ec88d0fd3632a20c80d6d9bded112'/>
<id>urn:sha1:6d5b4f19f37ec88d0fd3632a20c80d6d9bded112</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(python): use any-of?</title>
<updated>2021-05-16T19:13:12Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-05-15T10:29:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fe4f320b66ebda120bdbeb09ac31cc2770cae267'/>
<id>urn:sha1:fe4f320b66ebda120bdbeb09ac31cc2770cae267</id>
<content type='text'>
</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>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>Python: inject rst in docstrings (#917)</title>
<updated>2021-02-05T15:01:50Z</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@protonmail.com</email>
</author>
<published>2021-02-05T15:01:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=af36d31cb773e3ffe69b75a12ca39419de4dc801'/>
<id>urn:sha1:af36d31cb773e3ffe69b75a12ca39419de4dc801</id>
<content type='text'>
Since hasn't been much discussion around
https://github.com/nvim-treesitter/nvim-treesitter/issues/806.
I'm just porting the injection queries.
I've been using this for a while now.

Things I've noticed:

- Due that rst uses indentation for its syntax,
  everything is treated as an block quote (but it looks good).
  This can be solved by having a predicate like `#dedent!`.
- Looks like there is a bug in how the injected content is extracted

  ```
  def foo():
      """Foo bar"""
  ```

  That would be parsed as a section title for some reason,
  but it's a paragraph.

  In rst it would be a title if the content was:

  ```
  """
  Foo bar
  """
  ```

  If the content is

  ```
  """Foo bar"""
  ```

  That's just a paragraph.

I'll try to debug that from the neovim side next week or so.</content>
</entry>
<entry>
<title>indent: add Python @ignore queries</title>
<updated>2021-01-14T12:54:43Z</updated>
<author>
<name>Jędrzej Boczar</name>
<email>yendreij@gmail.com</email>
</author>
<published>2021-01-07T23:54:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e4f8e4147c32fe6b1dfd77ad15d49888738b3616'/>
<id>urn:sha1:e4f8e4147c32fe6b1dfd77ad15d49888738b3616</id>
<content type='text'>
</content>
</entry>
<entry>
<title>indent: add Python @return queries</title>
<updated>2021-01-14T12:54:43Z</updated>
<author>
<name>Jędrzej Boczar</name>
<email>yendreij@gmail.com</email>
</author>
<published>2021-01-07T23:33:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e6b8c5e680fa11bee487230e1b8bc32b5aa647d5'/>
<id>urn:sha1:e6b8c5e680fa11bee487230e1b8bc32b5aa647d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Python highlights: update definition of decorator</title>
<updated>2021-01-07T07:52:41Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-01-06T21:56:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/