aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 45b84a6..a3d9723 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -2012,10 +2012,10 @@ sub handle_command_cmd {
}
# Ex-mode commands can also be bound in command mode. Works only if the
- # ex-mode command doesn't take any arguments.
+ # ex-mode command doesn't need any additional arguments.
if ($cmd->{type} == C_EX) {
print "Processing ex-command: $map->{char} ($cmd->{char})" if DEBUG;
- $cmd->{func}->();
+ $cmd->{func}->($cmd->{char});
return 1; # call _stop()
}