<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/treesitter/_meta, branch userregs_2</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>refactor(treesitter): migrate to ts parser callback API #33141</title>
<updated>2025-03-29T17:57:22+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-03-29T17:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f4fc769c81af6f8d9235d59aec75cfe7c104b3ce'/>
<id>f4fc769c81af6f8d9235d59aec75cfe7c104b3ce</id>
<content type='text'>
Remove the `set_timeout` functions for `TSParser` and instead add a timeout
parameter to the regular parse function. Remove these deprecated tree-sitter
API functions and replace them with the preferred `TSParseOptions` style.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the `set_timeout` functions for `TSParser` and instead add a timeout
parameter to the regular parse function. Remove these deprecated tree-sitter
API functions and replace them with the preferred `TSParseOptions` style.</pre>
</div>
</content>
</entry>
<entry>
<title>docs(treesitter): document TSNode:named_children()</title>
<updated>2025-03-21T08:01:47+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-03-20T21:57:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fa85543e3b6d4ff4643b460096dda315f145ef89'/>
<id>fa85543e3b6d4ff4643b460096dda315f145ef89</id>
<content type='text'>
This commit also gives an internal documentation description for
`TSNode:__has_ancestor()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit also gives an internal documentation description for
`TSNode:__has_ancestor()`.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): allow disabling captures and patterns on TSQuery (#32790)</title>
<updated>2025-03-11T13:45:01+00:00</updated>
<author>
<name>Ian Chamberlain</name>
<email>ian-h-chamberlain@users.noreply.github.com</email>
</author>
<published>2025-03-11T13:45:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8b5a0a00c8cfe776c4227862c3fb32a07d154663'/>
<id>8b5a0a00c8cfe776c4227862c3fb32a07d154663</id>
<content type='text'>
Problem: Cannot disable individual captures and patterns in treesitter queries.

Solution: 
* Expose the corresponding tree-sitter API functions for `TSQuery` object. 
* Add documentation for `TSQuery`.
* Return the pattern ID from `get_captures_at_pos()` (and hence `:Inspect!`).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Cannot disable individual captures and patterns in treesitter queries.

Solution: 
* Expose the corresponding tree-sitter API functions for `TSQuery` object. 
* Add documentation for `TSQuery`.
* Return the pattern ID from `get_captures_at_pos()` (and hence `:Inspect!`).
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): add more metadata to `language.inspect()` (#32657)</title>
<updated>2025-03-01T15:51:09+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2025-03-01T15:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ec8922978eb14fe62671628bb25215743712eac0'/>
<id>ec8922978eb14fe62671628bb25215743712eac0</id>
<content type='text'>
Problem: No way to check the version of a treesitter parser.

Solution: Add version metadata (ABI 15 parsers only) as well as parser state count and supertype information (ABI 15) in `vim.treesitter.language.inspect()`. Also graduate the `abi_version` field, as this is now the official upstream name.

---------

Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: No way to check the version of a treesitter parser.

Solution: Add version metadata (ABI 15 parsers only) as well as parser state count and supertype information (ABI 15) in `vim.treesitter.language.inspect()`. Also graduate the `abi_version` field, as this is now the official upstream name.

---------

Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): `TSNode:field()` returns all children with the given field</title>
<updated>2025-02-21T09:47:02+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-02-15T21:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=55b165ac15a7528a3c679d928b1edf9d701f850b'/>
<id>55b165ac15a7528a3c679d928b1edf9d701f850b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(treesitter): fix TSNode:range() type signature #32224</title>
<updated>2025-01-27T22:25:06+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-01-27T22:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c47496791a80f8b6b9e37866010305482de4c8ca'/>
<id>c47496791a80f8b6b9e37866010305482de4c8ca</id>
<content type='text'>
Uses an overload to properly show the different return type based on the
input parameter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Uses an overload to properly show the different return type based on the
input parameter.</pre>
</div>
</content>
</entry>
<entry>
<title>fix: resolve all remaining LuaLS diagnostics</title>
<updated>2025-01-27T16:37:50+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2025-01-24T13:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6aa42e8f92bd8bea49b7b2accfe4ab67a5344e41'/>
<id>6aa42e8f92bd8bea49b7b2accfe4ab67a5344e41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build(deps)!: bump tree-sitter to HEAD, wasmtime to v29.0.1 (#32200)</title>
<updated>2025-01-27T15:16:06+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2025-01-27T15:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb60cd74fb5caa997e6253bef6a1f0b58e1b6ec6'/>
<id>eb60cd74fb5caa997e6253bef6a1f0b58e1b6ec6</id>
<content type='text'>
Breaking change: `ts_node_child_containing_descendant()` was removed

Breaking change: tree-sitter 0.25 (HEAD) required</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Breaking change: `ts_node_child_containing_descendant()` was removed

Breaking change: tree-sitter 0.25 (HEAD) required</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): introduce child_with_descendant()</title>
<updated>2024-10-11T15:29:45+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-10-02T17:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=267c7525f738cdd6024c39da758e885c026ffaaa'/>
<id>267c7525f738cdd6024c39da758e885c026ffaaa</id>
<content type='text'>
This commit also marks `child_containing_descendant()` as deprecated
(per upstream's documentation), and uses `child_with_descendant()` in
its place. Minimum required tree-sitter version will now be `0.24`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit also marks `child_containing_descendant()` as deprecated
(per upstream's documentation), and uses `child_with_descendant()` in
its place. Minimum required tree-sitter version will now be `0.24`.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(treesitter): generate TSNode, TSTree docs #30643</title>
<updated>2024-10-03T23:57:19+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-10-03T23:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f62728cd80a9c458b1c0ef7c5c1251e55fe91090'/>
<id>f62728cd80a9c458b1c0ef7c5c1251e55fe91090</id>
<content type='text'>
**Problem:** The documentation for `TSNode` and `TSTree` methods is
incomplete from the LSP perspective. This is because they are written
directly to the vimdoc, rather than in Lua and generated to vimdoc.

**Solution:** Migrate the docs to Lua and generate them into the vimdoc.
This requires breaking up the `treesitter/_meta.lua` file into a
directory with a few different modules.

This commit also makes the vimdoc generator slightly more robust with
regard to sections that have multiple help tags (e.g. `*one* *two*`)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
**Problem:** The documentation for `TSNode` and `TSTree` methods is
incomplete from the LSP perspective. This is because they are written
directly to the vimdoc, rather than in Lua and generated to vimdoc.

**Solution:** Migrate the docs to Lua and generate them into the vimdoc.
This requires breaking up the `treesitter/_meta.lua` file into a
directory with a few different modules.

This commit also makes the vimdoc generator slightly more robust with
regard to sections that have multiple help tags (e.g. `*one* *two*`)</pre>
</div>
</content>
</entry>
</feed>
