<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/iter.lua, branch rahm</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: misc #28970</title>
<updated>2024-09-01T20:01:24+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-09-01T20:01:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=61e9137394fc5229e582a64316c2ffef55d8d7af'/>
<id>61e9137394fc5229e582a64316c2ffef55d8d7af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(types): use vararg return type annotation</title>
<updated>2024-06-11T15:36:29+00:00</updated>
<author>
<name>Will Hopkins</name>
<email>willothyh@gmail.com</email>
</author>
<published>2024-06-01T07:18:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e947f226bebef1310af39ce3d93d7bb87e85d757'/>
<id>e947f226bebef1310af39ce3d93d7bb87e85d757</id>
<content type='text'>
build(types): allow vararg returns in function types
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
build(types): allow vararg returns in function types
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.iter): enable optimizations for arrays (lists with holes) (#28781)</title>
<updated>2024-05-17T19:17:25+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2024-05-17T19:17:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4c0d18c19773327dcd771d1da7805690e3e41255'/>
<id>4c0d18c19773327dcd771d1da7805690e3e41255</id>
<content type='text'>
The optimizations that vim.iter uses for array-like tables don't require
that the source table has no holes. The only thing that needs to change
is the determination if a table is "list-like": rather than requiring
consecutive, integer keys, we can simply test for (positive) integer
keys only, and remove any holes in the original array when we make a
copy for the iterator.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The optimizations that vim.iter uses for array-like tables don't require
that the source table has no holes. The only thing that needs to change
is the determination if a table is "list-like": rather than requiring
consecutive, integer keys, we can simply test for (positive) integer
keys only, and remove any holes in the original array when we make a
copy for the iterator.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: misc (#28609)</title>
<updated>2024-05-14T23:18:33+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2024-05-14T23:18:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7acf39ddab8ebdb63ebf78ec980149d20783fd4b'/>
<id>7acf39ddab8ebdb63ebf78ec980149d20783fd4b</id>
<content type='text'>
Closes https://github.com/neovim/neovim/issues/28484.
Closes https://github.com/neovim/neovim/issues/28719.

Co-authored-by: Chris &lt;crwebb85@gmail.com&gt;
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;
Co-authored-by: Jake B &lt;16889000+jakethedev@users.noreply.github.com&gt;
Co-authored-by: Jonathan Raines &lt;jonathan.s.raines@gmail.com&gt;
Co-authored-by: Yi Ming &lt;ofseed@foxmail.com&gt;
Co-authored-by: Zane Dufour &lt;zane@znd4.me&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes https://github.com/neovim/neovim/issues/28484.
Closes https://github.com/neovim/neovim/issues/28719.

Co-authored-by: Chris &lt;crwebb85@gmail.com&gt;
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;
Co-authored-by: Jake B &lt;16889000+jakethedev@users.noreply.github.com&gt;
Co-authored-by: Jonathan Raines &lt;jonathan.s.raines@gmail.com&gt;
Co-authored-by: Yi Ming &lt;ofseed@foxmail.com&gt;
Co-authored-by: Zane Dufour &lt;zane@znd4.me&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): remove deprecated features #28725</title>
<updated>2024-05-13T12:00:39+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-05-13T12:00:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e3ec974324bd73b63f54503480a4e48d1887f8d9'/>
<id>e3ec974324bd73b63f54503480a4e48d1887f8d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: misc #24163</title>
<updated>2024-04-30T11:30:21+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-04-30T11:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=71cf75f96a67aeb79ac3af6aa829bac81bd2d33d'/>
<id>71cf75f96a67aeb79ac3af6aa829bac81bd2d33d</id>
<content type='text'>
- Also delete old perl scripts which are not used since 8+ years ago.

fix #23251
fix #27367
ref https://github.com/neovim/neovim/issues/2252#issuecomment-1902662577

Helped-by: Daniel Kongsgaard &lt;dakongsgaard@gmail.com&gt;
Co-authored-by: Kevin Pham &lt;keevan.pham@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Also delete old perl scripts which are not used since 8+ years ago.

fix #23251
fix #27367
ref https://github.com/neovim/neovim/issues/2252#issuecomment-1902662577

Helped-by: Daniel Kongsgaard &lt;dakongsgaard@gmail.com&gt;
Co-authored-by: Kevin Pham &lt;keevan.pham@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(vim.iter)!: rename xxback() =&gt; rxx() #28503</title>
<updated>2024-04-26T15:43:29+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-04-26T15:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9b028bd64f4260a3a5576a3632f95a44bd658615'/>
<id>9b028bd64f4260a3a5576a3632f95a44bd658615</id>
<content type='text'>
Problem:
vim.iter has both `rfind()` and various `*back()` methods, which work
in "reverse" or "backwards" order. It's inconsistent to have both kinds
of names, and "back" is fairly uncommon (rust) compared to python
(rfind, rstrip, rsplit, …).

Solution:
- Remove `nthback()` and let `nth()` take a negative index.
  - Because `rnth()` looks pretty obscure, and because it's intuitive
    for a function named `nth()` to take negative indexes.
- Rename `xxback()` methods to `rxx()`.
  - This informally groups the "list-iterator" functions under a common
    `r` prefix, which helps discoverability.
- Rename `peekback()` to `pop()`, in duality with the existing `peek`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
vim.iter has both `rfind()` and various `*back()` methods, which work
in "reverse" or "backwards" order. It's inconsistent to have both kinds
of names, and "back" is fairly uncommon (rust) compared to python
(rfind, rstrip, rsplit, …).

Solution:
- Remove `nthback()` and let `nth()` take a negative index.
  - Because `rnth()` looks pretty obscure, and because it's intuitive
    for a function named `nth()` to take negative indexes.
- Rename `xxback()` methods to `rxx()`.
  - This informally groups the "list-iterator" functions under a common
    `r` prefix, which helps discoverability.
- Rename `peekback()` to `pop()`, in duality with the existing `peek`.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(vim.iter)!: remove vim.iter.map/filter/totable #26138</title>
<updated>2024-04-19T13:22:41+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-04-19T13:22:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=18da6964cc610795ba1b7010e75d4f12ce73322a'/>
<id>18da6964cc610795ba1b7010e75d4f12ce73322a</id>
<content type='text'>
Problem:
The use-case for the convenience functions vim.iter.map(),
vim.iter.filter(), vim.iter.totable() is not clear.

Solution:
Drop them for now. We can revisit after 0.10 release.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
The use-case for the convenience functions vim.iter.map(),
vim.iter.filter(), vim.iter.totable() is not clear.

Solution:
Drop them for now. We can revisit after 0.10 release.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.iter): use correct cmp function when truncating tail in `take` (#27998)</title>
<updated>2024-03-23T21:46:54+00:00</updated>
<author>
<name>Calvin Bochulak</name>
<email>calvin.bochulak@gmail.com</email>
</author>
<published>2024-03-23T21:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ca6dbf3558cec83f1d42a1e5f670c40c5893554e'/>
<id>ca6dbf3558cec83f1d42a1e5f670c40c5893554e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: support inline markdown</title>
<updated>2024-03-09T11:21:55+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-03-08T12:25:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ade1b12f49c3b3914c74847d791eb90ea90b56b7'/>
<id>ade1b12f49c3b3914c74847d791eb90ea90b56b7</id>
<content type='text'>
- Tags are now created with `[tag]()`
- References are now created with `[tag]`
- Code spans are no longer wrapped
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Tags are now created with `[tag]()`
- References are now created with `[tag]`
- Code spans are no longer wrapped
</pre>
</div>
</content>
</entry>
</feed>
