1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 16:45:40 +01:00

wrapped syntax name in quotes and brightwhite -> normal

This commit is contained in:
yochem 2018-05-05 12:14:03 +02:00
parent 848011a76c
commit d6a38f391f

View File

@ -1,4 +1,4 @@
syntax yaml "\.ya?ml" syntax "yaml" "\.ya?ml$"
comment "#" comment "#"
header "^---" "%YAML" 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) " color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
# Separator # Separator
color brightwhite "^\s+-" color normal "^\s+-"
color brightwhite ":(\s|\t|$)" color normal ":(\s|\t|$)"
# Comments # Comments
color white "(^|[[:space:]])#.*$" color white "(^|[[:space:]])#.*$"