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 2020-11-05 08:46:03 +09:00 committed by GitHub
parent 33560002b4
commit 9cc702ae11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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