Mercurial > vim
comparison runtime/doc/syntax.txt @ 7051:eff26a8620ce
commit https://github.com/vim/vim/commit/88774fdd23f08355297bb8cda78856859051d3c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 25 19:52:04 2015 +0200
Updated runtime files and Italian messages.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 25 Aug 2015 20:00:06 +0200 |
parents | b2673982c625 |
children | 30042ddff503 |
comparison
equal
deleted
inserted
replaced
7050:2ddd6c9ec05f | 7051:eff26a8620ce |
---|---|
1 *syntax.txt* For Vim version 7.4. Last change: 2015 Jul 21 | 1 *syntax.txt* For Vim version 7.4. Last change: 2015 Aug 13 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
3443 all keywords given, also for options that come after a keyword. | 3443 all keywords given, also for options that come after a keyword. |
3444 These examples do exactly the same: > | 3444 These examples do exactly the same: > |
3445 :syntax keyword Type contained int long char | 3445 :syntax keyword Type contained int long char |
3446 :syntax keyword Type int long contained char | 3446 :syntax keyword Type int long contained char |
3447 :syntax keyword Type int long char contained | 3447 :syntax keyword Type int long char contained |
3448 < *E789* | 3448 < *E789* *E890* |
3449 When you have a keyword with an optional tail, like Ex commands in | 3449 When you have a keyword with an optional tail, like Ex commands in |
3450 Vim, you can put the optional characters inside [], to define all the | 3450 Vim, you can put the optional characters inside [], to define all the |
3451 variations at once: > | 3451 variations at once: > |
3452 :syntax keyword vimCommand ab[breviate] n[ext] | 3452 :syntax keyword vimCommand ab[breviate] n[ext] |
3453 < | 3453 < |