diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/novim_mode.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/novim_mode.vim b/plugin/novim_mode.vim index d5601b1..97d61c6 100644 --- a/plugin/novim_mode.vim +++ b/plugin/novim_mode.vim @@ -38,7 +38,11 @@ endfunction call s:init_settings(s:settings) " Plugin entry point -call novim_mode#StartNoVimMode() +if has('timers') + call g:novim_mode#StartNoVimMode() +else + echo 'Novim-mode will not work this version of Vim (no `timer` support).' +endif let &cpo = s:save_cpo unlet s:save_cpo |