diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-01 16:39:17 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-01 16:43:27 +0000 |
commit | ffb7d66db4218abc93a408fc7981d51fe903c4eb (patch) | |
tree | ae6bac3766e529c571016ab95f58ca78829d29e1 /vim-mode | |
parent | vim_mode: Add known bugs. (diff) | |
download | irssi-scripts-ffb7d66db4218abc93a408fc7981d51fe903c4eb.tar.gz irssi-scripts-ffb7d66db4218abc93a408fc7981d51fe903c4eb.zip |
vim_mode: Fix _beginning_of_WORD() at end of the line.
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 16e8ec0..4a01921 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -721,7 +721,7 @@ sub _beginning_of_WORD { while ($count-- > 0 and length($input) > $pos) { if (substr($input, $pos + 1) !~ /\s+/) { - return cmd_movement_dollar(); + return length($input); } $pos += $+[0] + 1; } |