aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vim-mode/vim_mode.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 1c282ad..42fa18c 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -606,7 +606,7 @@ sub _next_occurrence {
sub cmd_movement_semicolon {
my ($count, $pos, $repeat) = @_;
- return (undef, undef) if not defined $last_ftFT;
+ return (undef, undef) if not defined $last_ftFT->{type};
(undef, $pos)
= $movements->{$last_ftFT->{type}}
@@ -616,7 +616,7 @@ sub cmd_movement_semicolon {
sub cmd_movement_comma {
my ($count, $pos, $repeat) = @_;
- return (undef, undef) if not defined $last_ftFT;
+ return (undef, undef) if not defined $last_ftFT->{type};
# Change direction.
my $save = $last_ftFT->{type};