<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/treesitter, branch rahm</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>feat(treesitter): show which nodes are missing in InspectTree</title>
<updated>2025-02-05T08:29:31+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-02-04T17:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=09f9f0a94625002f4c70efbdf858fe6918cbc9c6'/>
<id>09f9f0a94625002f4c70efbdf858fe6918cbc9c6</id>
<content type='text'>
Now `:InspectTree` will show missing nodes as e.g. `(MISSING identifier)`
or `(MISSING ";")` rather than just `(identifier)` or `";"`. This is
doable because the `MISSING` keyword is now valid query syntax.

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>
Now `:InspectTree` will show missing nodes as e.g. `(MISSING identifier)`
or `(MISSING ";")` rather than just `(identifier)` or `";"`. This is
doable because the `MISSING` keyword is now valid query syntax.

Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): allow LanguageTree:is_valid() to accept a range</title>
<updated>2025-02-02T20:13:25+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-01-29T23:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8543aa406c4ae88cc928372b2f8105005cdd0a80'/>
<id>8543aa406c4ae88cc928372b2f8105005cdd0a80</id>
<content type='text'>
When given, only that range will be checked for validity rather than the
entire tree. This is used in the highlighter to save CPU cycles since we
only need to parse a certain region at a time anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When given, only that range will be checked for validity rather than the
entire tree. This is used in the highlighter to save CPU cycles since we
only need to parse a certain region at a time anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): nil access when running string parser async</title>
<updated>2025-02-01T16:02:52+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-01-30T21:34:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=096ae3bfd7075dce69c70182ccedcd6d33e66d31'/>
<id>096ae3bfd7075dce69c70182ccedcd6d33e66d31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): support modelines in `query.set()` (#30257)</title>
<updated>2025-01-29T07:59:28+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2025-01-29T07:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=da0ae953490098c28bad4791e08e2cc4c2e385e2'/>
<id>da0ae953490098c28bad4791e08e2cc4c2e385e2</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>test: use temp file #31907</title>
<updated>2025-01-13T09:41:49+00:00</updated>
<author>
<name>Guilherme Soares</name>
<email>48023091+guilhas07@users.noreply.github.com</email>
</author>
<published>2025-01-13T09:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a3ef29d570dd892a1bcbfa80bb242d4aac89a06e'/>
<id>a3ef29d570dd892a1bcbfa80bb242d4aac89a06e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter)!: don't parse tree in get_parser() or start()</title>
<updated>2025-01-12T16:10:49+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-12-21T00:23:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=bd4ca22d0334a3323313dfd6975a80218ec65e36'/>
<id>bd4ca22d0334a3323313dfd6975a80218ec65e36</id>
<content type='text'>
**Problem:** `vim.treesitter.get_parser()` and `vim.treesitter.start()`
both parse the tree before returning it. This is problematic because if
this is a sync parse, it will stall the editor on large files. If it is
an async parse, the functions return stale trees.

**Solution:** Remove this parsing side effect and leave it to the user
to parse the returned trees, either synchronously or asynchronously.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
**Problem:** `vim.treesitter.get_parser()` and `vim.treesitter.start()`
both parse the tree before returning it. This is problematic because if
this is a sync parse, it will stall the editor on large files. If it is
an async parse, the functions return stale trees.

**Solution:** Remove this parsing side effect and leave it to the user
to parse the returned trees, either synchronously or asynchronously.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): async parsing</title>
<updated>2025-01-12T16:10:47+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2024-12-18T18:48:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=45e606b1fddbfeee8fe28385b5371ca6f2fba71b'/>
<id>45e606b1fddbfeee8fe28385b5371ca6f2fba71b</id>
<content type='text'>
**Problem:** Parsing can be slow for large files, and it is a blocking
operation which can be disruptive and annoying.

**Solution:** Provide a function for asynchronous parsing, which accepts
a callback to be run after parsing completes.

Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;
Co-authored-by: Luuk van Baal &lt;luukvbaal@gmail.com&gt;
Co-authored-by: VanaIgr &lt;vanaigranov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
**Problem:** Parsing can be slow for large files, and it is a blocking
operation which can be disruptive and annoying.

**Solution:** Provide a function for asynchronous parsing, which accepts
a callback to be run after parsing completes.

Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;
Co-authored-by: Luuk van Baal &lt;luukvbaal@gmail.com&gt;
Co-authored-by: VanaIgr &lt;vanaigranov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>perf(treesitter): cache queries strongly</title>
<updated>2025-01-12T15:44:24+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-01-11T23:44:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3fdc4302415972eb5d98ba832372236be3d22572'/>
<id>3fdc4302415972eb5d98ba832372236be3d22572</id>
<content type='text'>
**Problem:** Query parsing uses a weak cache which is invalidated
frequently

**Solution:** Make the cache strong, and invalidate it manually when
necessary (that is, when `rtp` is changed or `query.set()` is called)

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:** Query parsing uses a weak cache which is invalidated
frequently

**Solution:** Make the cache strong, and invalidate it manually when
necessary (that is, when `rtp` is changed or `query.set()` is called)

Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test(treesitter): inspect_tree #31182</title>
<updated>2025-01-08T13:06:09+00:00</updated>
<author>
<name>Guilherme Soares</name>
<email>48023091+guilhas07@users.noreply.github.com</email>
</author>
<published>2025-01-08T13:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=17b46d01e29443452ae8b607017f8f5c585d3f0a'/>
<id>17b46d01e29443452ae8b607017f8f5c585d3f0a</id>
<content type='text'>
To prevent #30986 and #31198 regression update inspect_tree tests</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To prevent #30986 and #31198 regression update inspect_tree tests</pre>
</div>
</content>
</entry>
</feed>
