Mercurial > vim
comparison runtime/doc/syntax.txt @ 4780:2b11ac90d9e9
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 06 Jun 2013 21:36:40 +0200 |
parents | f824cb97eb92 |
children | ceb5f21cda79 |
comparison
equal
deleted
inserted
replaced
4779:5df5676c880f | 4780:2b11ac90d9e9 |
---|---|
1 *syntax.txt* For Vim version 7.3. Last change: 2013 May 31 | 1 *syntax.txt* For Vim version 7.3. Last change: 2013 Jun 06 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
3955 | 3955 |
3956 External matches *:syn-ext-match* | 3956 External matches *:syn-ext-match* |
3957 | 3957 |
3958 These extra regular expression items are available in region patterns: | 3958 These extra regular expression items are available in region patterns: |
3959 | 3959 |
3960 */\z(* */\z(\)* *E50* *E52* | 3960 */\z(* */\z(\)* *E50* *E52* *E879* |
3961 \z(\) Marks the sub-expression as "external", meaning that it can be | 3961 \z(\) Marks the sub-expression as "external", meaning that it can be |
3962 accessed from another pattern match. Currently only usable in | 3962 accessed from another pattern match. Currently only usable in |
3963 defining a syntax region start pattern. | 3963 defining a syntax region start pattern. |
3964 | 3964 |
3965 */\z1* */\z2* */\z3* */\z4* */\z5* | 3965 */\z1* */\z2* */\z3* */\z4* */\z5* |
5095 | 5095 |
5096 If your syntax causes redrawing to be slow, here are a few hints on making it | 5096 If your syntax causes redrawing to be slow, here are a few hints on making it |
5097 faster. To see slowness switch on some features that usually interfere, such | 5097 faster. To see slowness switch on some features that usually interfere, such |
5098 as 'relativenumber' and |folding|. | 5098 as 'relativenumber' and |folding|. |
5099 | 5099 |
5100 Note: this is only available when compiled with the |+profile| feature. | |
5101 You many need to build Vim with "huge" features. | |
5102 | |
5100 To find out what patterns are consuming most time, get an overview with this | 5103 To find out what patterns are consuming most time, get an overview with this |
5101 sequence: > | 5104 sequence: > |
5102 :syntime on | 5105 :syntime on |
5103 [ redraw the text at least once with CTRL-L ] | 5106 [ redraw the text at least once with CTRL-L ] |
5104 :syntime report | 5107 :syntime report |