<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/gen, branch userregs_2</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>build: bump NVIM_API_LEVEL #33340</title>
<updated>2025-04-05T22:48:28+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-04-05T22:48:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f9dec1228d1741859a89b64de7ac9765f12c2d3d'/>
<id>f9dec1228d1741859a89b64de7ac9765f12c2d3d</id>
<content type='text'>
Bumping NVIM_API_LEVEL is pretty much required after every major
release, because it's also used to correlated Lua stdlib changes to
a Nvim version.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bumping NVIM_API_LEVEL is pretty much required after every major
release, because it's also used to correlated Lua stdlib changes to
a Nvim version.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: lsp config/commands #33122</title>
<updated>2025-03-30T20:29:36+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-03-30T20:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b41e066aa124b5feb428877c7a35776ce4d3035c'/>
<id>b41e066aa124b5feb428877c7a35776ce4d3035c</id>
<content type='text'>
fix #33075</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix #33075</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.1.1247: fragile setup to get (preferred) keys from key_name_entry (#33102)</title>
<updated>2025-03-28T00:08:36+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-03-28T00:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ae98d0a560b08d901ee9aae85df634de0ae3fe0a'/>
<id>ae98d0a560b08d901ee9aae85df634de0ae3fe0a</id>
<content type='text'>
Problem:  fragile setup to get (preferred) keys from key_name_entry
          (after v9.1.1179)
Solution: refactor the code further, fix a bug with "pref_name" key
          entry introduced in v9.1.1180 (Yee Cheng Chin)

The optimization introduced for using bsearch() with key_name_entry
in vim/vim#16788 was fragile as it required synchronizing a non-obvious index
(e.g. IDX_KEYNAME_SWU) with the array that could be accidentally changed
by any one adding a key to it. Furthermore, the "pref_name" that was
introduced in that change was unnecessary, and in fact introduced a bug,
as we don't always want to use the canonical name.

The bug is triggered when the user triggers auto-complete using a
keycode, such as `:set &lt;Scroll&lt;Tab&gt;`. The bug would end up showing two
copies of `&lt;ScrollWheelUp&gt;` because both entries end up using the
canonical name.

In this change, remove `pref_name`, and simply use a boolean to track
whether an entry is an alt name or not and modify logic to respect that.

Add test to make sure auto-complete works with alt names

closes: vim/vim#16987

https://github.com/vim/vim/commit/7d8e7df55190e8e4e5a66f443e4440b52edf2fdb

In Nvim there is no `enabled` field, so put `is_alt` before `name` to
reduce the size of the struct.

Co-authored-by: Yee Cheng Chin &lt;ychin.git@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  fragile setup to get (preferred) keys from key_name_entry
          (after v9.1.1179)
Solution: refactor the code further, fix a bug with "pref_name" key
          entry introduced in v9.1.1180 (Yee Cheng Chin)

The optimization introduced for using bsearch() with key_name_entry
in vim/vim#16788 was fragile as it required synchronizing a non-obvious index
(e.g. IDX_KEYNAME_SWU) with the array that could be accidentally changed
by any one adding a key to it. Furthermore, the "pref_name" that was
introduced in that change was unnecessary, and in fact introduced a bug,
as we don't always want to use the canonical name.

The bug is triggered when the user triggers auto-complete using a
keycode, such as `:set &lt;Scroll&lt;Tab&gt;`. The bug would end up showing two
copies of `&lt;ScrollWheelUp&gt;` because both entries end up using the
canonical name.

In this change, remove `pref_name`, and simply use a boolean to track
whether an entry is an alt name or not and modify logic to respect that.

Add test to make sure auto-complete works with alt names

closes: vim/vim#16987

https://github.com/vim/vim/commit/7d8e7df55190e8e4e5a66f443e4440b52edf2fdb

In Nvim there is no `enabled` field, so put `is_alt` before `name` to
reduce the size of the struct.

Co-authored-by: Yee Cheng Chin &lt;ychin.git@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(eval): move diff functions to diff.c (#33085)</title>
<updated>2025-03-27T13:35:20+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-03-27T13:35:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d01d4764804bd73ce213aab76a394c62c9f7d193'/>
<id>d01d4764804bd73ce213aab76a394c62c9f7d193</id>
<content type='text'>
They were moved in Vim in patch 8.1.1989.
This change is required to port patch 9.1.1243.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They were moved in Vim in patch 8.1.1989.
This change is required to port patch 9.1.1243.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: misc #32959</title>
<updated>2025-03-18T13:18:37+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2025-03-18T13:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7333c39e6cc78786289d88c65fbe10e4ce78992b'/>
<id>7333c39e6cc78786289d88c65fbe10e4ce78992b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(gen_keycodes): put TAB and K_TAB together (#32882)</title>
<updated>2025-03-14T03:36:24+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-03-14T03:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2db1ae37f14d71d1391110fe18709329263c77c9'/>
<id>2db1ae37f14d71d1391110fe18709329263c77c9</id>
<content type='text'>
Keep track of the original indexes of both TAB and K_TAB, so that there
doesn't have to be an extra table and loop for K_TAB.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keep track of the original indexes of both TAB and K_TAB, so that there
doesn't have to be an extra table and loop for K_TAB.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): allow disabling captures and patterns on TSQuery (#32790)</title>
<updated>2025-03-11T13:45:01+00:00</updated>
<author>
<name>Ian Chamberlain</name>
<email>ian-h-chamberlain@users.noreply.github.com</email>
</author>
<published>2025-03-11T13:45:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8b5a0a00c8cfe776c4227862c3fb32a07d154663'/>
<id>8b5a0a00c8cfe776c4227862c3fb32a07d154663</id>
<content type='text'>
Problem: Cannot disable individual captures and patterns in treesitter queries.

Solution: 
* Expose the corresponding tree-sitter API functions for `TSQuery` object. 
* Add documentation for `TSQuery`.
* Return the pattern ID from `get_captures_at_pos()` (and hence `:Inspect!`).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Cannot disable individual captures and patterns in treesitter queries.

Solution: 
* Expose the corresponding tree-sitter API functions for `TSQuery` object. 
* Add documentation for `TSQuery`.
* Return the pattern ID from `get_captures_at_pos()` (and hence `:Inspect!`).
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): types for vim.api.keyset.win_config #32700</title>
<updated>2025-03-10T13:01:51+00:00</updated>
<author>
<name>Tomasz N</name>
<email>przepompownia@users.noreply.github.com</email>
</author>
<published>2025-03-10T13:01:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=40a149e7f9926d29f19457da6a397b3b58b0b40f'/>
<id>40a149e7f9926d29f19457da6a397b3b58b0b40f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(gen_events): sort enums case-insensitively (#32811)</title>
<updated>2025-03-10T00:27:30+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-03-10T00:27:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c53e00889d38d19ec5e40f97e77280c8d4e33802'/>
<id>c53e00889d38d19ec5e40f97e77280c8d4e33802</id>
<content type='text'>
This actually only affects the order in which Cmdline* and Cmdwin*
autocommands are listed, and it appears that the names of Cmdwin* were
changed to CmdWin* in 8ed2dbf6e2802516501c11e72e5d6d977e6a07f3 without
explanation.

Also, remove the final NULL element from the names table.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This actually only affects the order in which Cmdline* and Cmdwin*
autocommands are listed, and it appears that the names of Cmdwin* were
changed to CmdWin* in 8ed2dbf6e2802516501c11e72e5d6d977e6a07f3 without
explanation.

Also, remove the final NULL element from the names table.</pre>
</div>
</content>
</entry>
<entry>
<title>perf(events): use hashy for event name lookup (#32802)</title>
<updated>2025-03-09T22:56:02+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-03-09T22:56:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=15f2da55a8ded9f1b7737cdd2d38c286fc581fd2'/>
<id>15f2da55a8ded9f1b7737cdd2d38c286fc581fd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
