aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/plugin/matchit.vim2
1 files changed, 1 insertions, 1 deletions
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