<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/treesitter/_meta.lua, branch aucmd_textputpost</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>docs: document TSNode:byte_length() (#26287)</title>
<updated>2023-11-29T14:59:36+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-11-29T14:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=18c1fd8e9d759da6806747910320dce6bea2ab42'/>
<id>18c1fd8e9d759da6806747910320dce6bea2ab42</id>
<content type='text'>
Also update the type annotation of TSNode:id(), which returns a string,
not an integer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also update the type annotation of TSNode:id(), which returns a string,
not an integer.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(docs): fix TSNode incorrect signatures</title>
<updated>2023-10-19T08:23:13+00:00</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-10-06T07:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ae7020c667b5314fe832d2a8897fb16d57194bdf'/>
<id>ae7020c667b5314fe832d2a8897fb16d57194bdf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: small fixes</title>
<updated>2023-10-10T17:20:32+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2023-09-15T07:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c3d21ad1bccd9a2975be73b1115213fd884eada3'/>
<id>c3d21ad1bccd9a2975be73b1115213fd884eada3</id>
<content type='text'>
Co-authored-by: Wansmer &lt;wansmer@gmail.com&gt;
Co-authored-by: Andrew Voynov &lt;andrewvoynov.b@gmail.com&gt;
Co-authored-by: David Moberg &lt;david.moberg@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Wansmer &lt;wansmer@gmail.com&gt;
Co-authored-by: Andrew Voynov &lt;andrewvoynov.b@gmail.com&gt;
Co-authored-by: David Moberg &lt;david.moberg@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): _trees may not be list-like</title>
<updated>2023-09-17T18:52:35+00:00</updated>
<author>
<name>Jaehwang Jung</name>
<email>tomtomjhj@gmail.com</email>
</author>
<published>2023-09-17T08:54:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=71d9b7d15c9b2e0df7db69a172aea0723a40bb71'/>
<id>71d9b7d15c9b2e0df7db69a172aea0723a40bb71</id>
<content type='text'>
Problem:
With incremental injection parsing, injected languages' parsers parse
only the relevant regions and stores the result in _trees with the index
of the corresponding region. Therefore, there can be holes in _trees.

Solution:
* Use generic table functions where appropriate.
* Fix type annotations and docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
With incremental injection parsing, injected languages' parsers parse
only the relevant regions and stores the result in _trees with the index
of the corresponding region. Therefore, there can be holes in _trees.

Solution:
* Use generic table functions where appropriate.
* Fix type annotations and docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(lua): add missing fields to treesitter/_meta</title>
<updated>2023-08-16T07:18:03+00:00</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2023-08-16T06:02:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=54be7d6b45a9ae51c218c0e5c1c20dd608b97297'/>
<id>54be7d6b45a9ae51c218c0e5c1c20dd608b97297</id>
<content type='text'>
According to `:h TSNode` docs, there's also `TSNode:sexpr()` and
`TSNode:has_error()` that is part of `TSNode` class, but this wasn't
documented in `treesitter/_meta.lua`.

Adding missing fields in so the types is similar to `:h TSNode`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to `:h TSNode` docs, there's also `TSNode:sexpr()` and
`TSNode:has_error()` that is part of `TSNode` class, but this wasn't
documented in `treesitter/_meta.lua`.

Adding missing fields in so the types is similar to `:h TSNode`
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter)!: incremental injection parsing</title>
<updated>2023-08-12T15:11:36+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-08-10T13:21:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2ca076e45fb3f1c08f6a1a374834df0701b8d778'/>
<id>2ca076e45fb3f1c08f6a1a374834df0701b8d778</id>
<content type='text'>
Problem:

Treesitter highlighting is slow for large files with lots of injections.

Solution:

Only parse injections we are going to render during a redraw cycle.

---

- `LanguageTree:parse()` will no longer parse injections by default and
  now requires an explicit range argument to be passed.

- `TSHighlighter` now parses injections incrementally during on_win
  callbacks for the line range being rendered.

- Plugins which require certain injections to be parsed must run
  `parser:parse({ start_row, end_row })` before using the tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:

Treesitter highlighting is slow for large files with lots of injections.

Solution:

Only parse injections we are going to render during a redraw cycle.

---

- `LanguageTree:parse()` will no longer parse injections by default and
  now requires an explicit range argument to be passed.

- `TSHighlighter` now parses injections incrementally during on_win
  callbacks for the line range being rendered.

- Plugins which require certain injections to be parsed must run
  `parser:parse({ start_row, end_row })` before using the tree.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): annotate that TSNode functions can return nil (#24621)</title>
<updated>2023-08-09T17:06:42+00:00</updated>
<author>
<name>Kyuuhachi</name>
<email>1547062+Kyuuhachi@users.noreply.github.com</email>
</author>
<published>2023-08-09T17:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=68f12e7fcb1fb8b95ca0b1207683d929574c0555'/>
<id>68f12e7fcb1fb8b95ca0b1207683d929574c0555</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): improved logging (#23638)</title>
<updated>2023-05-17T10:42:18+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-05-17T10:42:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=189fb6203262340e7a59e782be970bcd8ae28e61'/>
<id>189fb6203262340e7a59e782be970bcd8ae28e61</id>
<content type='text'>
- Add bindings to Treesitter ts_parser_set_logger and ts_parser_logger
- Add logfile with path STDPATH('log')/treesitter.c
- Rework existing LanguageTree loggin to use logfile
- Begin implementing log levels for vim.g.__ts_debug</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add bindings to Treesitter ts_parser_set_logger and ts_parser_logger
- Add logfile with path STDPATH('log')/treesitter.c
- Rework existing LanguageTree loggin to use logfile
- Begin implementing log levels for vim.g.__ts_debug</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): add support for setting query depths</title>
<updated>2023-05-11T10:13:32+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-05-11T10:13:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=af040c3a079f6e25db0ad6b908aa1327f67deb82'/>
<id>af040c3a079f6e25db0ad6b908aa1327f67deb82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): annotations</title>
<updated>2023-03-23T11:23:51+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-03-23T11:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4e4203f71b0b9bb2ca4ad9abd2fbf4ea1deaf9a6'/>
<id>4e4203f71b0b9bb2ca4ad9abd2fbf4ea1deaf9a6</id>
<content type='text'>
- Begin using `@package` in place of `@private` for functions
that are accessed internally but outside their defined class.

- Rename Node -&gt; TSP.Node</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Begin using `@package` in place of `@private` for functions
that are accessed internally but outside their defined class.

- Rename Node -&gt; TSP.Node</pre>
</div>
</content>
</entry>
</feed>
