File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ export abstract class BaseAction {
21
21
*/
22
22
public isJump = false ;
23
23
24
+ /**
25
+ * TODO: This property is a lie - it pertains to whether an action creates an undo point...
26
+ * See #5058 and rationalize ASAP.
27
+ */
24
28
public canBeRepeatedWithDot = false ;
25
29
26
30
/**
@@ -201,8 +205,6 @@ export abstract class BaseCommand extends BaseAction {
201
205
*/
202
206
runsOnceForEachCountPrefix = false ;
203
207
204
- canBeRepeatedWithDot = false ;
205
-
206
208
/**
207
209
* Run the command a single time.
208
210
*/
Original file line number Diff line number Diff line change @@ -851,6 +851,7 @@ class CommandDot extends BaseCommand {
851
851
class CommandRepeatSubstitution extends BaseCommand {
852
852
modes = [ Mode . Normal ] ;
853
853
keys = [ '&' ] ;
854
+ canBeRepeatedWithDot = true ;
854
855
855
856
public async exec ( position : Position , vimState : VimState ) : Promise < void > {
856
857
// Parsing the command from a string, while not ideal, is currently
You can’t perform that action at this time.
0 commit comments