aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-14 22:47:41 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-14 22:47:41 +0000
commit920c082078387dedf40207a211f78a9d29725718 (patch)
tree6086d238952ad70bc457397873861776facad497 /vim-mode
parentvim_mode: Make :set more vim-like, :set option=value. (diff)
downloadirssi-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.pl3
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 {