Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/cmd_line/commands/breakpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ type AddBreakpoint =
| AddBreakpointExpr;

class AddBreakpointCommand extends ExCommand {
public override isRepeatableWithDot: boolean = false;
private readonly addBreakpoint: AddBreakpoint;

constructor(addBreakpoint: AddBreakpoint) {
Expand Down Expand Up @@ -92,7 +91,6 @@ type DelBreakpoint =
| DelBreakpointHere;

class DeleteBreakpointCommand extends ExCommand {
public override isRepeatableWithDot: boolean = false;
private readonly delBreakpoint: DelBreakpoint;

constructor(delBreakpoint: DelBreakpoint) {
Expand Down Expand Up @@ -153,8 +151,6 @@ class DeleteBreakpointCommand extends ExCommand {
* List Breakpoints Command
*/
class ListBreakpointsCommand extends ExCommand {
public override isRepeatableWithDot: boolean = false;

async execute(vimState: VimState): Promise<void> {
const breakpoints = vscode.debug.breakpoints;
type BreakpointQuickPick = { breakpointId: string } & vscode.QuickPickItem;
Expand Down
2 changes: 0 additions & 2 deletions src/cmd_line/commands/quit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ export class QuitCommand extends ExCommand {
}),
);

public override isRepeatableWithDot = false;

public arguments: IQuitCommandArguments;
constructor(args: IQuitCommandArguments) {
super();
Expand Down
2 changes: 0 additions & 2 deletions src/cmd_line/commands/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { StatusBar } from '../../statusBar';
import { ExCommand } from '../../vimscript/exCommand';

export class RegisterCommand extends ExCommand {
public override isRepeatableWithDot: boolean = false;

public static readonly argParser: Parser<RegisterCommand> = optWhitespace.then(
// eslint-disable-next-line id-denylist
any.sepBy(optWhitespace).map((registers) => new RegisterCommand(registers)),
Expand Down
2 changes: 0 additions & 2 deletions src/cmd_line/commands/write.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ export class WriteCommand extends ExCommand {
).fallback({}),
).map(([bang, opt, other]) => new WriteCommand({ bang, opt, bgWrite: true, ...other }));

public override isRepeatableWithDot = false;

public readonly arguments: IWriteCommandArguments;

constructor(args: IWriteCommandArguments) {
Expand Down
2 changes: 0 additions & 2 deletions src/cmd_line/commands/writequit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ export class WriteQuitCommand extends ExCommand {
fileNameParser.fallback(undefined),
).map(([bang, opt, file]) => new WriteQuitCommand(file ? { bang, opt, file } : { bang, opt }));

public override isRepeatableWithDot = false;

private readonly args: IWriteQuitCommandArguments;
constructor(args: IWriteQuitCommandArguments) {
super();
Expand Down
2 changes: 0 additions & 2 deletions src/cmd_line/commands/writequitall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ export class WriteQuitAllCommand extends ExCommand {
whitespace.then(fileOptParser).fallback([]),
).map(([bang, fileOpt]) => new WriteQuitAllCommand({ bang, fileOpt }));

public override isRepeatableWithDot = false;

private readonly arguments: IWriteQuitAllCommandArguments;
constructor(args: IWriteQuitAllCommandArguments) {
super();
Expand Down
2 changes: 1 addition & 1 deletion src/vimscript/exCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export abstract class ExCommand {
return false;
}

public readonly isRepeatableWithDot: boolean = true;
public readonly isRepeatableWithDot: boolean = false;

abstract execute(vimState: VimState): Promise<void>;

Expand Down