diff options
author | Simon Ruderich <simon@ruderich.org> | 2010-10-14 22:47:41 +0000 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2010-10-14 22:47:41 +0000 |
commit | 920c082078387dedf40207a211f78a9d29725718 (patch) | |
tree | 6086d238952ad70bc457397873861776facad497 /vim-mode | |
parent | vim_mode: Make :set more vim-like, :set option=value. (diff) | |
download | irssi-scripts-920c082078387dedf40207a211f78a9d29725718.tar.gz irssi-scripts-920c082078387dedf40207a211f78a9d29725718.zip |
vim_mode: Fix :setting empty values.
Diffstat (limited to 'vim-mode')
-rw-r--r-- | vim-mode/vim_mode.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index f90364e..ce9405d 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -1928,7 +1928,8 @@ sub ex_set { $value !~ /^(on|off)$/i) { $value = $value ? 'on' : 'off'; } - Irssi::command("set vim_mode_$name $value"); + _setting_set($name, $value); + Irssi::signal_emit('setup changed'); # :se[t] [option] } else { |