Add g:loaded_matchit check (#13226)

I have added g:loaded_matchit check to skip matchit loading like other default plugins.
This commit is contained in:
Shougo authored and GitHub committed 2020-11-04 18:46:03 -05:00
1 parent 33560002b4
commit 9cc702ae11
1 file changed
+1 -1
+1 -1
View File
@@ -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