From 05712d4b20fbc260134b9e5b6f816cfee90c1ab2 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 4 Aug 2019 16:49:10 +0200 Subject: [PATCH] runtime/matchit.vim: workaround broken 'packpath' fix #10680 --- runtime/plugin/matchit.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/plugin/matchit.vim b/runtime/plugin/matchit.vim index ef698631b9..63be644062 100644 --- a/runtime/plugin/matchit.vim +++ b/runtime/plugin/matchit.vim @@ -1,2 +1,4 @@ " Nvim: load the matchit plugin by default. -packadd matchit +if stridx(&packpath, $VIMRUNTIME) >= 0 + packadd matchit +endif