diff options
-rw-r--r-- | runtime/plugin/matchit.vim | 4 |
1 files changed, 3 insertions, 1 deletions
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 |