diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-08 16:07:21 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-08 16:08:51 +0000 |
commit | d6238f38be11ca65f77a1c02324972e6da4519bf (patch) | |
tree | 7e59fbf07d368fe6ad6b60ed25eb45bb2a2c0ae2 /vim-mode | |
parent | vim_mode: Fix x and X broken in last commit. (diff) | |
download | irssi-scripts-d6238f38be11ca65f77a1c02324972e6da4519bf.tar.gz irssi-scripts-d6238f38be11ca65f77a1c02324972e6da4519bf.zip |
vim_mode: Fix mapping ex-commands which take an argument.
Reported by estragib.
Diffstat (limited to 'vim-mode')
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
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() } |