summaryrefslogtreecommitdiffstats
path: root/runtime/macros
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-09 20:22:30 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-09 20:22:30 +0100
commit8cc2a9c062fa38e133a62778518f769a423a2526 (patch)
tree3adfd9c063f9b46cbdb7f67be4c1dc9da90b065a /runtime/macros
parent4d8505155ec3d0f04e268b2997153ecaf37ee188 (diff)
patch 8.0.0321: errors when trying to use scripts in tiny versionv8.0.0321
Problem: When using the tiny version trying to load the matchit plugin gives an error. On MS-Windows some default mappings fail. Solution: Add a check if the command used is available. (Christian Brabandt)
Diffstat (limited to 'runtime/macros')
-rw-r--r--runtime/macros/matchit.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/macros/matchit.vim b/runtime/macros/matchit.vim
index 9cfe2e532f..f6f463f40c 100644
--- a/runtime/macros/matchit.vim
+++ b/runtime/macros/matchit.vim
@@ -1,3 +1,5 @@
" Load the matchit package.
" For those users who were loading the matchit plugin from here.
-packadd matchit
+if 1
+ packadd matchit
+endif