aboutsummaryrefslogtreecommitdiff
path: root/plugin/novim_mode.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/novim_mode.vim')
-rw-r--r--plugin/novim_mode.vim12
1 files changed, 7 insertions, 5 deletions
diff --git a/plugin/novim_mode.vim b/plugin/novim_mode.vim
index 97d61c6..c30d5de 100644
--- a/plugin/novim_mode.vim
+++ b/plugin/novim_mode.vim
@@ -37,12 +37,14 @@ endfunction
call s:init_settings(s:settings)
-" Plugin entry point
-if has('timers')
- call g:novim_mode#StartNoVimMode()
-else
- echo 'Novim-mode will not work this version of Vim (no `timer` support).'
+if has('timers') == 0
+ echo "Novim-mode: Your Vim version (Vim <7.5 or Neovim <0.1.5) doesn't "
+ echo "support `timer()`, which causes a bug where Insert Mode is "
+ echo "innapropriately set for some panes."
endif
+" Plugin entry point
+call g:novim_mode#StartNoVimMode()
+
let &cpo = s:save_cpo
unlet s:save_cpo