Mercurial > vim
comparison runtime/doc/syntax.txt @ 4264:2d1383658bb4
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 05 Apr 2013 22:26:15 +0200 |
parents | fa4089df54bc |
children | eb6ab7e78925 |
comparison
equal
deleted
inserted
replaced
4263:b4a7b51fcf59 | 4264:2d1383658bb4 |
---|---|
1 *syntax.txt* For Vim version 7.3. Last change: 2013 Mar 13 | 1 *syntax.txt* For Vim version 7.3. Last change: 2013 Apr 05 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
2067 | 2067 |
2068 Therefore, you should be careful about not using more space between sentences | 2068 Therefore, you should be careful about not using more space between sentences |
2069 than you intend to have in your final document. For this reason, the common | 2069 than you intend to have in your final document. For this reason, the common |
2070 practice is to insert a carriage return immediately after all punctuation | 2070 practice is to insert a carriage return immediately after all punctuation |
2071 marks. If you want to have "even" text in your final processed output, you | 2071 marks. If you want to have "even" text in your final processed output, you |
2072 need to maintaining regular spacing in the input text. To mark both trailing | 2072 need to maintain regular spacing in the input text. To mark both trailing |
2073 spaces and two or more spaces after a punctuation as an error, use: > | 2073 spaces and two or more spaces after a punctuation as an error, use: > |
2074 | 2074 |
2075 :let nroff_space_errors = 1 | 2075 :let nroff_space_errors = 1 |
2076 | 2076 |
2077 Another technique to detect extra spacing and other errors that will interfere | 2077 Another technique to detect extra spacing and other errors that will interfere |
4926 "b:current_syntax". The value set by the syntax file is assigned to | 4926 "b:current_syntax". The value set by the syntax file is assigned to |
4927 "w:current_syntax". | 4927 "w:current_syntax". |
4928 | 4928 |
4929 Once a window has its own syntax, syntax commands executed from other windows | 4929 Once a window has its own syntax, syntax commands executed from other windows |
4930 on the same buffer (including :syntax clear) have no effect. Conversely, | 4930 on the same buffer (including :syntax clear) have no effect. Conversely, |
4931 syntax commands executed from that window do not effect other windows on the | 4931 syntax commands executed from that window do not affect other windows on the |
4932 same buffer. | 4932 same buffer. |
4933 | 4933 |
4934 A window with its own syntax reverts to normal behavior when another buffer | 4934 A window with its own syntax reverts to normal behavior when another buffer |
4935 is loaded into that window or the file is reloaded. | 4935 is loaded into that window or the file is reloaded. |
4936 When splitting the window, the new window will use the original syntax. | 4936 When splitting the window, the new window will use the original syntax. |