<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/plugin/lsp/selection_range_spec.lua, branch master</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>vim-patch:9.2.1114: Visual selection is not highlighted at the cursor position #42105</title>
<updated>2026-09-27T11:39:50+00:00</updated>
<author>
<name>Takumi Katase</name>
<email>50615605+devoc09@users.noreply.github.com</email>
</author>
<published>2026-09-27T11:39:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=495c8d26fcea1446ad54271681c0cac8d578b108'/>
<id>495c8d26fcea1446ad54271681c0cac8d578b108</id>
<content type='text'>
vim-patch:9.2.1114: Visual selection is not highlighted at the cursor position

Problem:  In a terminal the character under the cursor is normally not
          shown as part of the visual selection.
Solution: Don't set "noinvcur" in win_line() (Shane Harper).

The problem did not occur in the GUI, only in a terminal.

The name "noinvcur" ("don't invert the cursor") was misleading: the
variable did not affect the cursor, but whether the character under the
cursor could be displayed as part of the visual selection.

The "noinvcur" handling may have been meant to help during a visual
selection when Visual is shown in reverse video and the terminal draws
the cursor by inverting the character under it, as otherwise the
character under the cursor would not look highlighted like the rest of
the selection. But Vim cannot know in general how a terminal draws the
cursor, and when either the cursor is not drawn by inverting the
character under it or Visual is not shown in reverse video, the handling
just left a character of the visual selection unhighlighted.

closes: vim/vim#21317

https://github.com/vim/vim/commit/d10aab4ba6602f8f2f2576d2d62ceb63869db6fb

Co-authored-by: Shane Harper &lt;shane@shaneharper.net&gt;
AI-assisted</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vim-patch:9.2.1114: Visual selection is not highlighted at the cursor position

Problem:  In a terminal the character under the cursor is normally not
          shown as part of the visual selection.
Solution: Don't set "noinvcur" in win_line() (Shane Harper).

The problem did not occur in the GUI, only in a terminal.

The name "noinvcur" ("don't invert the cursor") was misleading: the
variable did not affect the cursor, but whether the character under the
cursor could be displayed as part of the visual selection.

The "noinvcur" handling may have been meant to help during a visual
selection when Visual is shown in reverse video and the terminal draws
the cursor by inverting the character under it, as otherwise the
character under the cursor would not look highlighted like the rest of
the selection. But Vim cannot know in general how a terminal draws the
cursor, and when either the cursor is not drawn by inverting the
character under it or Visual is not shown in reverse video, the handling
just left a character of the visual selection unhighlighted.

closes: vim/vim#21317

https://github.com/vim/vim/commit/d10aab4ba6602f8f2f2576d2d62ceb63869db6fb

Co-authored-by: Shane Harper &lt;shane@shaneharper.net&gt;
AI-assisted</pre>
</div>
</content>
</entry>
<entry>
<title>test(lsp-selection): of by one</title>
<updated>2026-08-01T16:15:23+00:00</updated>
<author>
<name>altermo</name>
<email>107814000+altermo@users.noreply.github.com</email>
</author>
<published>2026-08-01T16:03:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fe8e6a7efa33dc9ea1c57aa3f65be9469f05f287'/>
<id>fe8e6a7efa33dc9ea1c57aa3f65be9469f05f287</id>
<content type='text'>
The test uses the position col=5,row=5; but such a position
is outside of the buffer.

Presume that it was meant to be col=5,row=4...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test uses the position col=5,row=5; but such a position
is outside of the buffer.

Presume that it was meant to be col=5,row=4...
</pre>
</div>
</content>
</entry>
<entry>
<title>test(harness): migrate away from magic globals</title>
<updated>2026-07-21T11:22:39+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2026-07-20T15:16:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6d8c8b18d551d0be0490640c00fabb816727ec10'/>
<id>6d8c8b18d551d0be0490640c00fabb816727ec10</id>
<content type='text'>
Problem:
The magic globals `it`, `describe`, etc., are more trouble than they are
worth.

- Hooking into `after_each` requires `getfenv()` hacks.
- They confuse luals/emmylua, because the top-level `.luarc.json` isn't
  merged with `test/.luarc.json` (apparently a luals limitation?)
- They totally defeat discoverability because the user just has to
  "know" about the various magic symbols.

So they harm DX, which means they serve no purpose at all.

Solution:
- Expose the test API from `testutil`, so tests can call `t.it()`,
  `t.describe()`, etc., in the conventional way.
- Drop `getfenv()` hacks.
- Drop the `setfenv()` injection in `load_chunk`.
- Drop `test/_meta.lua`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
The magic globals `it`, `describe`, etc., are more trouble than they are
worth.

- Hooking into `after_each` requires `getfenv()` hacks.
- They confuse luals/emmylua, because the top-level `.luarc.json` isn't
  merged with `test/.luarc.json` (apparently a luals limitation?)
- They totally defeat discoverability because the user just has to
  "know" about the various magic symbols.

So they harm DX, which means they serve no purpose at all.

Solution:
- Expose the test API from `testutil`, so tests can call `t.it()`,
  `t.describe()`, etc., in the conventional way.
- Drop `getfenv()` hacks.
- Drop the `setfenv()` injection in `load_chunk`.
- Drop `test/_meta.lua`.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): support v:count in selection_range() #34551</title>
<updated>2025-06-17T21:10:57+00:00</updated>
<author>
<name>Riley Bruins</name>
<email>ribru17@hotmail.com</email>
</author>
<published>2025-06-17T21:10:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=17c18efbe561d51ccf7568763e1056fb906f25f3'/>
<id>17c18efbe561d51ccf7568763e1056fb906f25f3</id>
<content type='text'>
Co-authored-by: Yi Ming &lt;ofseed@foxmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Yi Ming &lt;ofseed@foxmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
