From d75315db8ae93bedf02b2c78c640c061017052a2 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 15 Oct 2010 21:00:26 +0200 Subject: vim_mode: Fix 'start_cmd' on startup/reload. --- vim-mode/vim_mode.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim-mode') 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); } } -- cgit v1.2.3