We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3149e8c commit 9a02ae5Copy full SHA for 9a02ae5
src/transformations/execute.ts
@@ -246,15 +246,15 @@ export async function executeTransformations(
246
const resultLineNumbers: number[] = [];
247
if (withRange) {
248
for (let i = startLineNumber; i <= endLineNumber; i++) {
249
- resultLineNumbers.push(vimState.document.lineAt(i).lineNumber);
+ resultLineNumbers.push(i);
250
}
251
} else {
252
const selectionList = vimState.editor.selections;
253
for (const selection of selectionList) {
254
const { start, end } = selection;
255
256
for (let i = start.line; i <= end.line; i++) {
257
258
259
260
0 commit comments