From 9cc702ae119f34e3ea51b3bddc159e8b7898c3c7 Mon Sep 17 00:00:00 2001 From: Shougo Date: Thu, 5 Nov 2020 08:46:03 +0900 Subject: Add g:loaded_matchit check (#13226) I have added g:loaded_matchit check to skip matchit loading like other default plugins. --- runtime/plugin/matchit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/plugin') 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 -- cgit