Skip to content

Commit

Permalink
Correct replacement confirmation text (VSCodeVim#3722)
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Fields authored and jpoon committed May 4, 2019
1 parent ffb18b7 commit b342a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_line/commands/substitute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class SubstituteCommand extends node.CommandBase {

if (
!(this._arguments.flags & SubstituteFlags.ConfirmEach) ||
(await this.confirmReplacement(regex.source, line, vimState, match, matchPos))
(await this.confirmReplacement(this._arguments.replace, line, vimState, match, matchPos))
) {
const rangeEnd = newContent.length;
newContent =
Expand Down

0 comments on commit b342a75

Please sign in to comment.