pyyaml / examples / yaml-hl / yaml_hl_ascii.cfg

%YAML 1.1
---
tokens:
    stream-start:
    stream-end:
    directive:              { start: "\e[35m", end: "\e[0;1;30;40m" }
    document-start:         { start: "\e[35m", end: "\e[0;1;30;40m" }
    document-end:           { start: "\e[35m", end: "\e[0;1;30;40m" }
    block-sequence-start:
    block-mapping-start:
    block-end:
    flow-sequence-start:    { start: "\e[33m", end: "\e[0;1;30;40m" }
    flow-mapping-start:     { start: "\e[33m", end: "\e[0;1;30;40m" }
    flow-sequence-end:      { start: "\e[33m", end: "\e[0;1;30;40m" }
    flow-mapping-end:       { start: "\e[33m", end: "\e[0;1;30;40m" }
    key:                    { start: "\e[33m", end: "\e[0;1;30;40m" }
    value:                  { start: "\e[33m", end: "\e[0;1;30;40m" }
    block-entry:            { start: "\e[33m", end: "\e[0;1;30;40m" }
    flow-entry:             { start: "\e[33m", end: "\e[0;1;30;40m" }
    alias:                  { start: "\e[32m", end: "\e[0;1;30;40m" }
    anchor:                 { start: "\e[32m", end: "\e[0;1;30;40m" }
    tag:                    { start: "\e[32m", end: "\e[0;1;30;40m" }
    scalar:                 { start: "\e[36m", end: "\e[0;1;30;40m" }

events:
    stream-start:   { start: "\e[0;1;30;40m" }
    stream-end:     { end: "\e[0m" }
    document-start:
    document-end:
    sequence:
    mapping:
    collection-end:
    scalar:

replaces: !!pairs
    - "\r\n":   "\n"
    - "\r":     "\n"
    - "\n":     "\n"
    - "\x85":   "\n"
    - "\u2028": "\n"
    - "\u2029": "\n"

# vim: ft=yaml
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.