diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-04 16:49:10 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-04 16:49:10 +0200 |
commit | 05712d4b20fbc260134b9e5b6f816cfee90c1ab2 (patch) | |
tree | 2437f826fe2f7b432822b94294a33d676e6ee00b | |
parent | 96be8a2c4d63faadb97c346abb336511a60ac89a (diff) | |
download | rneovim-05712d4b20fbc260134b9e5b6f816cfee90c1ab2.tar.gz rneovim-05712d4b20fbc260134b9e5b6f816cfee90c1ab2.tar.bz2 rneovim-05712d4b20fbc260134b9e5b6f816cfee90c1ab2.zip |
runtime/matchit.vim: workaround broken 'packpath'
fix #10680
-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 |