<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/treesitter/query.lua, branch tmp</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(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>
<entry>
<title>chore: format runtime with stylua</title>
<updated>2022-05-09T14:31:55+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-05-09T09:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aefdc6783cb77f09786542c90901a9e7120bea42'/>
<id>aefdc6783cb77f09786542c90901a9e7120bea42</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.txt - fix overflowing lines, document minimum_language_version (#17286)</title>
<updated>2022-02-13T13:43:25+00:00</updated>
<author>
<name>Chinmay Dalal</name>
<email>dalal.chinmay.0101@gmail.com</email>
</author>
<published>2022-02-13T13:43:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e4819017480c801c07619bfe740cc934e2f4c85b'/>
<id>e4819017480c801c07619bfe740cc934e2f4c85b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(query.lua): check empty table for lines</title>
<updated>2022-02-11T06:44:37+00:00</updated>
<author>
<name>kevinhwang91</name>
<email>kevin.hwang@live.com</email>
</author>
<published>2022-02-11T06:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=afcf64479c1aa5ea53286853370082507f2721f7'/>
<id>afcf64479c1aa5ea53286853370082507f2721f7</id>
<content type='text'>
The range of node may make `nvim_buf_get_lines` return an empty table.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The range of node may make `nvim_buf_get_lines` return an empty table.
</pre>
</div>
</content>
</entry>
<entry>
<title>perf(treesitter): cache query parsing</title>
<updated>2022-01-06T12:20:22+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-01-05T18:23:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9c26939f75be8057d8880689292a729e8d8c9306'/>
<id>9c26939f75be8057d8880689292a729e8d8c9306</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): multiline match predicates</title>
<updated>2021-12-12T12:16:42+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2021-11-17T15:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6e6c36ca5bc31de39504a2949da85043d1469db8'/>
<id>6e6c36ca5bc31de39504a2949da85043d1469db8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(ts): add support for multiline nodes in get_node_text (#14999)</title>
<updated>2021-12-12T11:05:39+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2021-12-12T11:05:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1f3c0593eb1d4e54ce1edf35da67d184807a9280'/>
<id>1f3c0593eb1d4e54ce1edf35da67d184807a9280</id>
<content type='text'>
Based on https://github.com/neovim/neovim/pull/14445

This extends `vim.treesitter.query.get_node_text` to return the text
that spans a node's range even if start_row ~= end_row.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on https://github.com/neovim/neovim/pull/14445

This extends `vim.treesitter.query.get_node_text` to return the text
that spans a node's range even if start_row ~= end_row.</pre>
</div>
</content>
</entry>
<entry>
<title>chore: fix typos (#16361)</title>
<updated>2021-11-27T16:10:48+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-11-27T16:10:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=caa6992a1071a2ac373bec21085685da4a1790d6'/>
<id>caa6992a1071a2ac373bec21085685da4a1790d6</id>
<content type='text'>
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;
Co-authored-by: Brede Yabo Sherling Kristensen &lt;bredeyabo@hotmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: István Donkó &lt;istvan.donko@gmail.com&gt;
Co-authored-by: Julian Berman &lt;Julian@GrayVines.com&gt;
Co-authored-by: bryant &lt;bryant@users.noreply.github.com&gt;
Co-authored-by: Michael Lingelbach &lt;m.j.lbach@gmail.com&gt;
Co-authored-by: nlueb &lt;9465658+nlueb@users.noreply.github.com&gt;
Co-authored-by: Leonhard Saam &lt;leonhard.saam@yahoo.com&gt;
Co-authored-by: Jesse Wertheim &lt;jaawerth@gmail.com&gt;
Co-authored-by: dm1try &lt;me@dmitry.it&gt;
Co-authored-by: Jakub Łuczyński &lt;doubleloop@o2.pl&gt;
Co-authored-by: Louis Lebrault &lt;louis.lebrault@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>docs: make Lua docstrings consistent #15255</title>
<updated>2021-08-22T20:55:28+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-22T20:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c2a211b8e3e00dfae594ccbd9a107aef85a9919c'/>
<id>c2a211b8e3e00dfae594ccbd9a107aef85a9919c</id>
<content type='text'>
The official developer documentation in in :h dev-lua-doc specifies to
use "--@" for special/magic tokens. However, this format is not
consistent with EmmyLua notation (used by some Lua language servers) nor
with the C version of the magic docstring tokens which use three comment
characters.

Further, the code base is currently split between usage of "--@",
"---@", and "--- @". In an effort to remain consistent, change all Lua
magic tokens to use "---@" and update the developer documentation
accordingly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The official developer documentation in in :h dev-lua-doc specifies to
use "--@" for special/magic tokens. However, this format is not
consistent with EmmyLua notation (used by some Lua language servers) nor
with the C version of the magic docstring tokens which use three comment
characters.

Further, the code base is currently split between usage of "--@",
"---@", and "--- @". In an effort to remain consistent, change all Lua
magic tokens to use "---@" and update the developer documentation
accordingly.</pre>
</div>
</content>
</entry>
</feed>
