comparison runtime/doc/syntax.txt @ 10244:876fbdd84e52

commit https://github.com/vim/vim/commit/2ec618c9feac4573b154510236ad8121c77d0eca Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 1 14:47:05 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sat, 01 Oct 2016 15:00:04 +0200
parents b7da8d4c594c
children bdd7fc1a38c0
comparison
equal deleted inserted replaced
10243:fe057ff11e5f 10244:876fbdd84e52
1 *syntax.txt* For Vim version 8.0. Last change: 2016 Sep 13 1 *syntax.txt* For Vim version 8.0. Last change: 2016 Sep 29
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
3578 contains "vimSetting", the "vimSetting" group is used. 3578 contains "vimSetting", the "vimSetting" group is used.
3579 3579
3580 3580
3581 DEFINING MATCHES *:syn-match* 3581 DEFINING MATCHES *:syn-match*
3582 3582
3583 :sy[ntax] match {group-name} [{options}] [excludenl] {pattern} [{options}] 3583 :sy[ntax] match {group-name} [{options}]
3584 [excludenl]
3585 [keepend]
3586 {pattern}
3587 [{options}]
3584 3588
3585 This defines one match. 3589 This defines one match.
3586 3590
3587 {group-name} A syntax group name such as "Comment". 3591 {group-name} A syntax group name such as "Comment".
3588 [{options}] See |:syn-arguments| below. 3592 [{options}] See |:syn-arguments| below.
3589 [excludenl] Don't make a pattern with the end-of-line "$" 3593 [excludenl] Don't make a pattern with the end-of-line "$"
3590 extend a containing match or region. Must be 3594 extend a containing match or region. Must be
3591 given before the pattern. |:syn-excludenl| 3595 given before the pattern. |:syn-excludenl|
3596 keepend Don't allow contained matches to go past a
3597 match with the end pattern. See
3598 |:syn-keepend|.
3592 {pattern} The search pattern that defines the match. 3599 {pattern} The search pattern that defines the match.
3593 See |:syn-pattern| below. 3600 See |:syn-pattern| below.
3594 Note that the pattern may match more than one 3601 Note that the pattern may match more than one
3595 line, which makes the match depend on where 3602 line, which makes the match depend on where
3596 Vim starts searching for the pattern. You 3603 Vim starts searching for the pattern. You