Mercurial > vim
comparison runtime/doc/syntax.txt @ 10734:523cd59d6db0
Update runtime files.
commit https://github.com/vim/vim/commit/690afe1fef87e7eef6fb7343a926617d5f7315fa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 28 18:34:47 2017 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Jan 2017 18:45:05 +0100 |
parents | 169a62d5bcb9 |
children | c391bfbdb452 |
comparison
equal
deleted
inserted
replaced
10733:7a5df0f9635f | 10734:523cd59d6db0 |
---|---|
1 *syntax.txt* For Vim version 8.0. Last change: 2016 Oct 30 | 1 *syntax.txt* For Vim version 8.0. Last change: 2017 Jan 17 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
3477 This defines if the following ":syntax" commands will work with | 3477 This defines if the following ":syntax" commands will work with |
3478 matching case, when using "match", or with ignoring case, when using | 3478 matching case, when using "match", or with ignoring case, when using |
3479 "ignore". Note that any items before this are not affected, and all | 3479 "ignore". Note that any items before this are not affected, and all |
3480 items until the next ":syntax case" command are affected. | 3480 items until the next ":syntax case" command are affected. |
3481 | 3481 |
3482 :sy[ntax] case | |
3483 Show either "syntax case match" or "syntax case ignore" (translated). | |
3482 | 3484 |
3483 SPELL CHECKING *:syn-spell* | 3485 SPELL CHECKING *:syn-spell* |
3484 | 3486 |
3485 :sy[ntax] spell [toplevel | notoplevel | default] | 3487 :sy[ntax] spell [toplevel | notoplevel | default] |
3486 This defines where spell checking is to be done for text that is not | 3488 This defines where spell checking is to be done for text that is not |
3493 For text in syntax items use the @Spell and @NoSpell clusters | 3495 For text in syntax items use the @Spell and @NoSpell clusters |
3494 |spell-syntax|. When there is no @Spell and no @NoSpell cluster then | 3496 |spell-syntax|. When there is no @Spell and no @NoSpell cluster then |
3495 spell checking is done for "default" and "toplevel". | 3497 spell checking is done for "default" and "toplevel". |
3496 | 3498 |
3497 To activate spell checking the 'spell' option must be set. | 3499 To activate spell checking the 'spell' option must be set. |
3500 | |
3501 :sy[ntax] spell | |
3502 Show either "syntax spell toplevel", "syntax spell notoplevel" or | |
3503 "syntax spell default" (translated). | |
3504 | |
3498 | 3505 |
3499 SYNTAX ISKEYWORD SETTING *:syn-iskeyword* | 3506 SYNTAX ISKEYWORD SETTING *:syn-iskeyword* |
3500 | 3507 |
3501 :sy[ntax] iskeyword [clear | {option}] | 3508 :sy[ntax] iskeyword [clear | {option}] |
3502 This defines the keyword characters. It's like the 'iskeyword' option | 3509 This defines the keyword characters. It's like the 'iskeyword' option |
4086 matches or regions with the "conceal" flag set. After ":syn conceal | 4093 matches or regions with the "conceal" flag set. After ":syn conceal |
4087 on", all subsequent ":syn keyword", ":syn match" or ":syn region" | 4094 on", all subsequent ":syn keyword", ":syn match" or ":syn region" |
4088 defined will have the "conceal" flag set implicitly. ":syn conceal | 4095 defined will have the "conceal" flag set implicitly. ":syn conceal |
4089 off" returns to the normal state where the "conceal" flag must be | 4096 off" returns to the normal state where the "conceal" flag must be |
4090 given explicitly. | 4097 given explicitly. |
4098 | |
4099 :sy[ntax] conceal | |
4100 Show either "syntax conceal on" or "syntax conceal off" (translated). | |
4091 | 4101 |
4092 ============================================================================== | 4102 ============================================================================== |
4093 7. Syntax patterns *:syn-pattern* *E401* *E402* | 4103 7. Syntax patterns *:syn-pattern* *E401* *E402* |
4094 | 4104 |
4095 In the syntax commands, a pattern must be surrounded by two identical | 4105 In the syntax commands, a pattern must be surrounded by two identical |