diff runtime/vimrc_example.vim @ 9344:33c1b85d408c

commit https://github.com/vim/vim/commit/802a0d902fca423acb15f835d7b09183883d79a0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 26 16:17:58 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 26 Jun 2016 16:30:09 +0200
parents 48b4c1c284fb
children 284b4eb307fc
line wrap: on
line diff
--- a/runtime/vimrc_example.vim
+++ b/runtime/vimrc_example.vim
@@ -1,7 +1,7 @@
 " An example for a vimrc file.
 "
 " Maintainer:	Bram Moolenaar <Bram@vim.org>
-" Last change:	2016 Apr 05
+" Last change:	2016 Jun 21
 "
 " To use it, copy it to
 "     for Unix and OS/2:  ~/.vimrc
@@ -111,4 +111,6 @@ endif
 "
 " The matchit plugin makes the % command work better, but it is not backwards
 " compatible.
-packadd matchit
+if has('syntax') && has('eval')
+  packadd matchit
+endif