Maintan nano v2.7.x compatbility

This commit is contained in:
Csaba Maulis 2018-09-11 07:59:23 +08:00
parent bdb317ee11
commit e1661ccc6d
No known key found for this signature in database
GPG Key ID: D0D8B9FFAC55B443

View File

@ -1,10 +1,10 @@
## Here is a prolog example.
syntax prolog "\.pl"
syntax "prolog" "\.pl"
comment "%"
# Reset everything
color normal ".*"
color brightwhite ".*"
# Integers and floats
color yellow "(^| |=)[0-9]+\.?[0-9]*"
@ -18,7 +18,7 @@ color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))"
# Functions
color cyan "(^|[[:blank:]])\w+\("
color normal "\(|\)|\[|\]|,|=|\\="
color brightwhite "\(|\)|\[|\]|,|=|\\="
# Atoms
color green start="\"" end="\""
@ -32,4 +32,4 @@ color white start="/\*" end="\*/"
color black,yellow "(BUG|DEBUG|FIXME|IDEA|NOTE|REVIEW|TEMP|TODO|WARNING|XXX)"
# Spaces in front of tabs
color ,red " + +"
color ,red " + +"