comparison runtime/doc/syntax.txt @ 18831:6848b809a26e

Runtime file updates. Commit: https://github.com/vim/vim/commit/664f3cf3f21d3699bfd179c318ef5c869c085648 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 7 16:03:51 2019 +0100 Runtime file updates.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Dec 2019 16:15:05 +0100
parents 82a28df1e2d5
children af69c9335223
comparison
equal deleted inserted replaced
18830:a5749be04ad3 18831:6848b809a26e
1 *syntax.txt* For Vim version 8.1. Last change: 2019 Nov 29 1 *syntax.txt* For Vim version 8.1. Last change: 2019 Dec 07
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1399 to your startup file. 1399 to your startup file.
1400 1400
1401 1401
1402 EUPHORIA *euphoria3.vim* *euphoria4.vim* *ft-euphoria-syntax* 1402 EUPHORIA *euphoria3.vim* *euphoria4.vim* *ft-euphoria-syntax*
1403 1403
1404 Two syntax highlighting files exists for Euphoria. One for Euphoria 1404 Two syntax highlighting files exists for Euphoria. One for Euphoria
1405 version 3.1.1, which is the default syntax highlighting file, and one for 1405 version 3.1.1, which is the default syntax highlighting file, and one for
1406 Euphoria version 4.0.5 or later. 1406 Euphoria version 4.0.5 or later.
1407 1407
1408 Euphoria version 3.1.1 (http://www.rapideuphoria.com/) is still necessary 1408 Euphoria version 3.1.1 (http://www.rapideuphoria.com/) is still necessary
1409 for developing applications for the DOS platform, which Euphoria version 4 1409 for developing applications for the DOS platform, which Euphoria version 4
1410 (http://www.openeuphoria.org/) does not support. 1410 (http://www.openeuphoria.org/) does not support.
1411 1411
1412 The following file extensions are auto-detected as Euphoria file type: 1412 The following file extensions are auto-detected as Euphoria file type:
1413 1413
1414 *.e, *.eu, *.ew, *.ex, *.exu, *.exw 1414 *.e, *.eu, *.ew, *.ex, *.exu, *.exw
1415 *.E, *.EU, *.EW, *.EX, *.EXU, *.EXW 1415 *.E, *.EU, *.EW, *.EX, *.EXU, *.EXW
1416 1416
1417 To select syntax highlighting file for Euphoria, as well as for 1417 To select syntax highlighting file for Euphoria, as well as for
1418 auto-detecting the *.e and *.E file extensions as Euphoria file type, 1418 auto-detecting the *.e and *.E file extensions as Euphoria file type,
1419 add the following line to your startup file: > 1419 add the following line to your startup file: >
1420 1420
1421 :let filetype_euphoria="euphoria3" 1421 :let filetype_euphoria="euphoria3"
1422 1422
1423 or 1423 or
1424 1424
1425 :let filetype_euphoria="euphoria4" 1425 :let filetype_euphoria="euphoria4"
1426 1426
1427 1427
1428 ERLANG *erlang.vim* *ft-erlang-syntax* 1428 ERLANG *erlang.vim* *ft-erlang-syntax*
3535 3535
3536 3536
3537 YAML *yaml.vim* *ft-yaml-syntax* 3537 YAML *yaml.vim* *ft-yaml-syntax*
3538 3538
3539 *g:yaml_schema* *b:yaml_schema* 3539 *g:yaml_schema* *b:yaml_schema*
3540 A YAML schema is a combination of a set of tags and a mechanism for resolving 3540 A YAML schema is a combination of a set of tags and a mechanism for resolving
3541 non-specific tags. For user this means that YAML parser may, depending on 3541 non-specific tags. For user this means that YAML parser may, depending on
3542 plain scalar contents, treat plain scalar (which can actually be only string 3542 plain scalar contents, treat plain scalar (which can actually be only string
3543 and nothing else) as a value of the other type: null, boolean, floating-point, 3543 and nothing else) as a value of the other type: null, boolean, floating-point,
3544 integer. `g:yaml_schema` option determines according to which schema values 3544 integer. `g:yaml_schema` option determines according to which schema values
3545 will be highlighted specially. Supported schemas are 3545 will be highlighted specially. Supported schemas are
3546 3546
3547 Schema Description ~ 3547 Schema Description ~
3548 failsafe No additional highlighting. 3548 failsafe No additional highlighting.
3549 json Supports JSON-style numbers, booleans and null. 3549 json Supports JSON-style numbers, booleans and null.
3550 core Supports more number, boolean and null styles. 3550 core Supports more number, boolean and null styles.
3551 pyyaml In addition to core schema supports highlighting timestamps, 3551 pyyaml In addition to core schema supports highlighting timestamps,
3552 but there are some differences in what is recognized as 3552 but there are some differences in what is recognized as
3553 numbers and many additional boolean values not present in core 3553 numbers and many additional boolean values not present in core
3554 schema. 3554 schema.
3555 3555
3556 Default schema is `core`. 3556 Default schema is `core`.
3557 3557
3558 Note that schemas are not actually limited to plain scalars, but this is the 3558 Note that schemas are not actually limited to plain scalars, but this is the
3559 only difference between schemas defined in YAML specification and the only 3559 only difference between schemas defined in YAML specification and the only
3560 difference defined in the syntax file. 3560 difference defined in the syntax file.
3561 3561
3562 3562
3563 ZSH *zsh.vim* *ft-zsh-syntax* 3563 ZSH *zsh.vim* *ft-zsh-syntax*
3564 3564
3656 This defines the keyword characters. It's like the 'iskeyword' option 3656 This defines the keyword characters. It's like the 'iskeyword' option
3657 for but only applies to syntax highlighting. 3657 for but only applies to syntax highlighting.
3658 3658
3659 clear: Syntax specific iskeyword setting is disabled and the 3659 clear: Syntax specific iskeyword setting is disabled and the
3660 buffer-local 'iskeyword' setting is used. 3660 buffer-local 'iskeyword' setting is used.
3661 {option} Set the syntax 'iskeyword' option to a new value. 3661 {option} Set the syntax 'iskeyword' option to a new value.
3662 3662
3663 Example: > 3663 Example: >
3664 :syntax iskeyword @,48-57,192-255,$,_ 3664 :syntax iskeyword @,48-57,192-255,$,_
3665 < 3665 <
3666 This would set the syntax specific iskeyword option to include all 3666 This would set the syntax specific iskeyword option to include all