mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
Merge pull request #170 from yochem/master
[yaml] Regarding comment from @jc-iacono
This commit is contained in:
commit
a9e8d9d1e7
@ -1,4 +1,4 @@
|
||||
syntax yaml "\.ya?ml"
|
||||
syntax "yaml" "\.ya?ml$"
|
||||
comment "#"
|
||||
header "^---" "%YAML"
|
||||
|
||||
@ -14,8 +14,8 @@ color yellow "[:-]\s+[0-9]+\.?[0-9]*(\s*($|#))"
|
||||
color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
|
||||
|
||||
# Separator
|
||||
color brightwhite "^\s+-"
|
||||
color brightwhite ":(\s|\t|$)"
|
||||
color normal "^\s+-"
|
||||
color normal ":(\s|\t|$)"
|
||||
|
||||
# Comments
|
||||
color white "(^|[[:space:]])#.*$"
|
||||
|
Loading…
Reference in New Issue
Block a user