aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/autoload/health/provider.vim2
-rw-r--r--runtime/plugin/matchit.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim
index e8e38f581f..94fd7cf505 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -749,7 +749,7 @@ function! s:check_perl() abort
call health#report_warn(
\ printf('Module "Neovim::Ext" is out-of-date. Installed: %s, latest: %s',
\ current_cpan, latest_cpan),
- \ ['Run in shell: cpanm Neovim::Ext'])
+ \ ['Run in shell: cpanm -n Neovim::Ext'])
else
call health#report_ok('Latest "Neovim::Ext" cpan module is installed: '. current_cpan)
endif
diff --git a/runtime/plugin/matchit.vim b/runtime/plugin/matchit.vim
index 63be644062..d3583229fc 100644
--- a/runtime/plugin/matchit.vim
+++ b/runtime/plugin/matchit.vim
@@ -1,4 +1,4 @@
" Nvim: load the matchit plugin by default.
-if stridx(&packpath, $VIMRUNTIME) >= 0
+if !exists("g:loaded_matchit") && stridx(&packpath, $VIMRUNTIME) >= 0
packadd matchit
endif