<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/lua/iter_spec.lua, branch fix_repeatcmdline</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(iter): make pipeline termination conditions consistent (#24614)</title>
<updated>2023-08-09T20:41:45+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-08-09T20:41:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2ee8ace217b8e4405822d3ab1bed5a20bedc4b04'/>
<id>2ee8ace217b8e4405822d3ab1bed5a20bedc4b04</id>
<content type='text'>
If an iterator pipeline stage returns nil as its first return value, the
other return values are ignored and it is treated as if that stage
returned only nil (the semantics of returning nil are different between
different stages). This is consistent with how for loops work in Lua
more generally, where the for loop breaks when the first return value
from the function iterator is nil (see :h for-in for details).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an iterator pipeline stage returns nil as its first return value, the
other return values are ignored and it is treated as if that stage
returned only nil (the semantics of returning nil are different between
different stages). This is consistent with how for loops work in Lua
more generally, where the for loop breaks when the first return value
from the function iterator is nil (see :h for-in for details).</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): use callable table as iterator in vim.iter (#23957)</title>
<updated>2023-06-10T18:33:23+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2023-06-10T18:33:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=302d3cfb96d7f0c856262e1a4252d058e3300c8b'/>
<id>302d3cfb96d7f0c856262e1a4252d058e3300c8b</id>
<content type='text'>
A table passed to `vim.iter` can be a class instance with a `__call`
implementation for the iterator protocol.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A table passed to `vim.iter` can be a class instance with a `__call`
implementation for the iterator protocol.</pre>
</div>
</content>
</entry>
<entry>
<title>test: move vim.iter tests to separate file</title>
<updated>2023-04-25T02:31:25+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2023-04-21T13:04:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=147bb87245cdb348e67c659415d0661d48aa5f1e'/>
<id>147bb87245cdb348e67c659415d0661d48aa5f1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
