diff options
author | Shougo <Shougo.Matsu@gmail.com> | 2020-11-05 08:46:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 18:46:03 -0500 |
commit | 9cc702ae119f34e3ea51b3bddc159e8b7898c3c7 (patch) | |
tree | 8dabc3db6357d60586eb0ec38710e89b9e05c256 | |
parent | 33560002b4103cb8be3ba2bf51cd395bbc4702fd (diff) | |
download | rneovim-9cc702ae119f34e3ea51b3bddc159e8b7898c3c7.tar.gz rneovim-9cc702ae119f34e3ea51b3bddc159e8b7898c3c7.tar.bz2 rneovim-9cc702ae119f34e3ea51b3bddc159e8b7898c3c7.zip |
Add g:loaded_matchit check (#13226)
I have added g:loaded_matchit check to skip matchit loading like other default plugins.
-rw-r--r-- | runtime/plugin/matchit.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |