summaryrefslogtreecommitdiff
path: root/runtime/macros
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-24 22:21:52 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-24 22:21:52 +0000
commitc01140a1a069caf3ced83eac7d4866048c4b723e (patch)
tree0620c08894dcaf985d74e3cb76c682aecd7fb8ae /runtime/macros
parentdb552d60ec4613d5537d3ebdcc4130f1591c0589 (diff)
downloadvim-git-c01140a1a069caf3ced83eac7d4866048c4b723e.tar.gz
updated for version 7.0b
Diffstat (limited to 'runtime/macros')
-rw-r--r--runtime/macros/matchit.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/macros/matchit.txt b/runtime/macros/matchit.txt
index 8ea4de5f2..57373fe5e 100644
--- a/runtime/macros/matchit.txt
+++ b/runtime/macros/matchit.txt
@@ -4,7 +4,7 @@ For instructions on installing this file, type
:help matchit-install
inside Vim.
-For Vim version 6.3. Last change: 2004 May 12
+For Vim version 6.3. Last change: 2006 Feb 23
VIM REFERENCE MANUAL by Benji Fisher
@@ -247,7 +247,7 @@ Examples:
comment character) you can >
:let b:match_skip = 'r:\(^\|[^\\]\)\(\\\\\)*%'
<
- See the $VIMRUNTIME/syntax/vim.vim for an example that uses both
+ See the $VIMRUNTIME/ftplugin/vim.vim for an example that uses both
syntax and a regular expression.
==============================================================================
@@ -261,8 +261,10 @@ Vim's |regular-expression|s.
The format for |b:match_words| is similar to that of the 'matchpairs' option:
it is a comma (,)-separated list of groups; each group is a colon(:)-separated
-list of patterns (regular expressions). It is OK to have only one group; the
-effect is undefined if a group has only one pattern. A simple example is >
+list of patterns (regular expressions). Commas and backslashes that are part
+of a pattern should be escaped with backslashes ('\:' and '\,'). It is OK to
+have only one group; the effect is undefined if a group has only one pattern.
+A simple example is >
:let b:match_words = '\<if\>:\<endif\>,'
\ . '\<while\>:\<continue\>:\<break\>:\<endwhile\>'
(In Vim regular expressions, |\<| and |\>| denote word boundaries. Thus "if"