aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-15 19:00:26 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-15 19:00:26 +0000
commitd75315db8ae93bedf02b2c78c640c061017052a2 (patch)
treebce46f3e0b08e5266facc5699e2048a5e7ba5239
parentvim_mode: Aborting command also updates partial command. (diff)
downloadirssi-scripts-d75315db8ae93bedf02b2c78c640c061017052a2.tar.gz
irssi-scripts-d75315db8ae93bedf02b2c78c640c061017052a2.zip
vim_mode: Fix 'start_cmd' on startup/reload.
-rw-r--r--vim-mode/vim_mode.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index 5e23c02..03d214f 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -2568,7 +2568,7 @@ sub vim_mode_init {
setup_changed();
_reset_undo_buffer();
- if ($settings->{start_cmd}) {
+ if ($settings->{start_cmd}->{value}) {
_update_mode(M_CMD);
}
}