This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / yaml.nanorc
1 syntax "yaml" "\.ya?ml$"
2 #comment "#"
3 header "^---" "%YAML"
4
5 # Values
6 color green "(:|^|\s)+\S+"
7
8 # Keys
9 color red "(^|\s+).*+\s*:(\s|$)"
10
11 # Special values
12 color yellow "[:-]\s+(true|false|null)\s*$"
13 color yellow "[:-]\s+[0-9]+\.?[0-9]*(\s*($|#))"
14 color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
15
16 # Separator
17 color brightwhite "^\s+-"
18 color brightwhite ":(\s|\t|$)"
19
20 # Comments
21 color brightblue "(^|[[:space:]])#.*$"