<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/treesitter/query.lua, branch floattitle</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>fix(query): fix unnatural order for inherits in treesitter queries (#20298)</title>
<updated>2022-09-29T14:25:07+00:00</updated>
<author>
<name>Sergey Berezhnoy</name>
<email>veged@ya.ru</email>
</author>
<published>2022-09-29T14:25:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=94718e479da786cf75f9805470a6a108e8097dab'/>
<id>94718e479da786cf75f9805470a6a108e8097dab</id>
<content type='text'>
close #20297</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
close #20297</pre>
</div>
</content>
</entry>
<entry>
<title>fix(docs): invalid :help links #20345</title>
<updated>2022-09-25T23:58:27+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-09-25T23:58:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=63be7651829f8b77c4974d08ebe09f7775e41a8a'/>
<id>63be7651829f8b77c4974d08ebe09f7775e41a8a</id>
<content type='text'>
Fix those naughty single quotes.

closes #20159</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix those naughty single quotes.

closes #20159</pre>
</div>
</content>
</entry>
<entry>
<title>docs(treesitter): clean up and update treesitter.txt (#20142)</title>
<updated>2022-09-14T09:08:31+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-09-14T09:08:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ddb762f4013ac2532ad45704466058d867e3a6ed'/>
<id>ddb762f4013ac2532ad45704466058d867e3a6ed</id>
<content type='text'>
* add type annotations to code
* clean up and expand static documentation
* consistent use of tags for static and generated docs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add type annotations to code
* clean up and expand static documentation
* consistent use of tags for static and generated docs</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): prevent endless loop on self-inheritence</title>
<updated>2022-09-11T06:16:50+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-09-10T09:26:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1939518ebab72878f2a8ca0cb85c09f7e70d1093'/>
<id>1939518ebab72878f2a8ca0cb85c09f7e70d1093</id>
<content type='text'>
Fixes #20139
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #20139
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): use the right loading order for base queries (#20117)</title>
<updated>2022-09-08T09:17:29+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-09-08T09:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=893b659e88c61a8c3ce5b140ab475cd67e0ca6bc'/>
<id>893b659e88c61a8c3ce5b140ab475cd67e0ca6bc</id>
<content type='text'>
Use the first, not last, query for a language on runtimepath. Typically,
this implies that a user query will override a site plugin query, which 
will override a bundled runtime query.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the first, not last, query for a language on runtimepath. Typically,
this implies that a user query will override a site plugin query, which 
will override a bundled runtime query.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter)!: do not merge queries by default (#20105)</title>
<updated>2022-09-08T07:47:36+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-09-08T07:47:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0405594399741babd6d935d581eac2584b289f92'/>
<id>0405594399741babd6d935d581eac2584b289f92</id>
<content type='text'>
Problem: Treesitter queries for a given language in runtime were merged together, 
leading to errors if they targeted different parser versions (e.g., bundled viml queries 
and those shipped by nvim-treesitter).
Solution:  Runtime queries now work as follows:
* The last query in the rtp without `; extends` in the header will be used as the base query
* All queries (without a specific order) with `; extends` are concatenated with the base query

BREAKING CHANGE: queries need to be updated if they are meant to extend other queries</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Treesitter queries for a given language in runtime were merged together, 
leading to errors if they targeted different parser versions (e.g., bundled viml queries 
and those shipped by nvim-treesitter).
Solution:  Runtime queries now work as follows:
* The last query in the rtp without `; extends` in the header will be used as the base query
* All queries (without a specific order) with `; extends` are concatenated with the base query

BREAKING CHANGE: queries need to be updated if they are meant to extend other queries</pre>
</div>
</content>
</entry>
<entry>
<title>Use weak tables in tree-sitter code (#17117)</title>
<updated>2022-09-07T06:39:56+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-09-07T06:39:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fd1595514b747d8b083f78007579d869ccfbe89c'/>
<id>fd1595514b747d8b083f78007579d869ccfbe89c</id>
<content type='text'>
feat(treesitter): use weak tables when possible

Also add the defaulttable function to create a table whose values are created when a key is missing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat(treesitter): use weak tables when possible

Also add the defaulttable function to create a table whose values are created when a key is missing.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): add opts.concat to query.get_text_node</title>
<updated>2022-08-25T16:01:14+00:00</updated>
<author>
<name>Quentin Rasmont</name>
<email>qrasmont@gmail.com</email>
</author>
<published>2022-04-26T20:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=733b2e12b86a34c00aa07e0491762f88582792a5'/>
<id>733b2e12b86a34c00aa07e0491762f88582792a5</id>
<content type='text'>
As part of the upstream of utility functions from nvim-treesitter, this
option when set to false allows to return a table (downstream behavior).
Effectively making the switch from the downstream to the upstream
function much easier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the upstream of utility functions from nvim-treesitter, this
option when set to false allows to return a table (downstream behavior).
Effectively making the switch from the downstream to the upstream
function much easier.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): don't error when node argument of predicate is nil (#19355)</title>
<updated>2022-07-14T10:18:03+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-07-14T10:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ddaef0618dbe4f55ed5eed50440ff6d06e48f02a'/>
<id>ddaef0618dbe4f55ed5eed50440ff6d06e48f02a</id>
<content type='text'>
When the node mentioned in a predicate is not required for the query
then predicates putting restrictions on that node shouldn't run.

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2600</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the node mentioned in a predicate is not required for the query
then predicates putting restrictions on that node shouldn't run.

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2600</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): offset directive associates range with capture (#18276)</title>
<updated>2022-05-28T17:22:18+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-05-28T17:22:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=eab4d03a3264b2afaf803ed839fa25bc4e7acedd'/>
<id>eab4d03a3264b2afaf803ed839fa25bc4e7acedd</id>
<content type='text'>
Previously the `offset!` directive populated the metadata in such a way
that the new range could be attributed to a specific capture. #14046
made it so the directive simply stored just the new range in the
metadata and information about what capture the range is based from is
lost.

This change reverts that whilst also correcting the docs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the `offset!` directive populated the metadata in such a way
that the new range could be attributed to a specific capture. #14046
made it so the directive simply stored just the new range in the
metadata and information about what capture the range is based from is
lost.

This change reverts that whilst also correcting the docs.</pre>
</div>
</content>
</entry>
</feed>
