Vim
Vim copied to clipboard
`Vi{` incorrectly selects the line with the closing bracket
Description
In Vim, you can do Vi{ (visual line inside block) to select all lines inside the block but not the lines that contain { and }.
This plugin incorrectly selects the line with the closing bracket.
Reproduction
Write the following text.
Begin
{
Block A
Block B
Block C
}
End
Move the cursor to any line inside the block, such as the empty line, and press Vi{.
Expected
Only
Block A
Block B
Block C
are selected.
Actual
The closing bracket is highlighted, too, so the following text ends up in the selection.
Block A
Block B
Block C
}
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.28.1
- VSCode version: 1.95.0
- OS: Debian 12 (bookworm)