diff options
Diffstat (limited to 'vim-mode')
-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 08c5174..8956397 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1917,7 +1917,7 @@ sub ex_set { my $value = $2; # Also accept numeric values for boolean options. if ($settings->{$name}->{type} == S_BOOL and - $value !~ /^(on|off)$/) { + $value !~ /^(on|off)$/i) { $value = $value ? 'on' : 'off'; } Irssi::command("set vim_mode_$name $value"); |