<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/treesitter, 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>fix(treesitter): not refreshing virtualtext contents #33361</title>
<updated>2025-04-07T10:56:40+00:00</updated>
<author>
<name>Dmitry Zolotukhin</name>
<email>zlogic@gmail.com</email>
</author>
<published>2025-04-07T10:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=cf59631f65390efcf9ad27cd63003f8711cb9e17'/>
<id>cf59631f65390efcf9ad27cd63003f8711cb9e17</id>
<content type='text'>
Problem: In some cases, when treesitter is enabled, deleting a
line below virtualtext will not refresh all updated lines.
https://github.com/neovim/neovim/issues/33358

Solution: Revert a part of https://github.com/neovim/neovim/pull/31324
to ensure that the full range (with virtual lines) is refreshed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: In some cases, when treesitter is enabled, deleting a
line below virtualtext will not refresh all updated lines.
https://github.com/neovim/neovim/issues/33358

Solution: Revert a part of https://github.com/neovim/neovim/pull/31324
to ensure that the full range (with virtual lines) is refreshed.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): don't memoize modified headings (#33186)</title>
<updated>2025-03-31T09:22:57+00:00</updated>
<author>
<name>Tan, Long</name>
<email>tanloong@foxmail.com</email>
</author>
<published>2025-03-31T09:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=28eaec5e1526b2a004eadeadf6246df75cfa08e8'/>
<id>28eaec5e1526b2a004eadeadf6246df75cfa08e8</id>
<content type='text'>
Problem: repeated gO in markdown etc. adds extra toc indentation

Solution: don't memoize heading table which gets modified</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: repeated gO in markdown etc. adds extra toc indentation

Solution: don't memoize heading table which gets modified</pre>
</div>
</content>
</entry>
<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>refactor(treesitter): simplify injection retrieval #33104</title>
<updated>2025-03-28T11:38:47+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-03-28T11:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=75cbd9a8aeb2fb0f7efb5fca6a2d42097810a95e'/>
<id>75cbd9a8aeb2fb0f7efb5fca6a2d42097810a95e</id>
<content type='text'>
Simplify the logic for retrieving the injection ranges for the language
tree. The trees are now also sorted by starting position, regardless of
whether they are part of a combined injection or not. This would be
helpful if ranges are ever to be stored in an interval tree or other
kind of sorted tree structure.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify the logic for retrieving the injection ranges for the language
tree. The trees are now also sorted by starting position, regardless of
whether they are part of a combined injection or not. This would be
helpful if ranges are ever to be stored in an interval tree or other
kind of sorted tree structure.</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>fix(runtime): gO always says "Help TOC" #32971</title>
<updated>2025-03-19T11:17:00+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-03-19T11:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=74fcc9452cd99680a9f4aad255e90204966f74c3'/>
<id>74fcc9452cd99680a9f4aad255e90204966f74c3</id>
<content type='text'>
Problem:
gO always says "Help TOC".

Solution:
Use a generic title instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
gO always says "Help TOC".

Solution:
Use a generic title instead.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): allow `iter_captures` to accept `opts`</title>
<updated>2025-03-12T08:41:40+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-03-11T15:29:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=44ccd9ca24dd804afbc8a00eb1a4789975a51362'/>
<id>44ccd9ca24dd804afbc8a00eb1a4789975a51362</id>
<content type='text'>
This matches the `iter_captures` functionality to the `iter_matches`
functionality, allowing it to specify a match limit and start depth for
the query iterator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches the `iter_captures` functionality to the `iter_matches`
functionality, allowing it to specify a match limit and start depth for
the query iterator.
</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>fix: warn when :InspectTree on buffer with no parser #32783</title>
<updated>2025-03-11T13:15:22+00:00</updated>
<author>
<name>phanium</name>
<email>91544758+phanen@users.noreply.github.com</email>
</author>
<published>2025-03-11T13:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0829e7575d63d51f0e33df81be2a45099aedea97'/>
<id>0829e7575d63d51f0e33df81be2a45099aedea97</id>
<content type='text'>
Problem: `InspectTree` error on buffer without ts parser attached.

Solution: show a more correct warning.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: `InspectTree` error on buffer without ts parser attached.

Solution: show a more correct warning.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(checkhealth): group parsers by name and path in output</title>
<updated>2025-03-10T20:15:19+00:00</updated>
<author>
<name>Eike</name>
<email>eike.rackwitz@mail.de</email>
</author>
<published>2025-03-10T20:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e00d67ef310cab43ac60610c710d36c1c0903759'/>
<id>e00d67ef310cab43ac60610c710d36c1c0903759</id>
<content type='text'>
Problem:
  :checkhealth vim.treesitter sorts parser entries solely by path,
  splitting duplicates and reducing clarity.

Solution:
  Sort entries first by name, then by path, so that duplicates are grouped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
  :checkhealth vim.treesitter sorts parser entries solely by path,
  splitting duplicates and reducing clarity.

Solution:
  Sort entries first by name, then by path, so that duplicates are grouped.
</pre>
</div>
</content>
</entry>
</feed>
