Skip to content

Commit 408385f

Browse files
authored
Merge pull request #16 from hammerdr/master
Handle visual line mode
2 parents ff45930 + 33ad151 commit 408385f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/neovim.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export class NeovimManager {
294294
pluginInfo
295295
};
296296

297-
if (mode.mode.startsWith('v')) {
297+
if (mode.mode.startsWith('v') || mode.mode.startsWith('V')) {
298298
try {
299299
// Use a more reliable method to get the visual selection
300300
// This Lua code gets the actual selected text

0 commit comments

Comments
 (0)