Fix nano warnings

Nano warns of color needing a syntax definition preceding it. This is solved by putting "prolog" in quotes at the top of the file. Nano also complains about the color normal, so I changed it to "white"
This commit is contained in:
Dante Barbieri 2019-08-22 09:40:55 -05:00 committed by GitHub
parent 5873ea106f
commit 062c6f0f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
## Here is a prolog example. ## Here is a prolog example.
syntax prolog "\.pl" syntax "prolog" "\.pl"
comment "%" comment "%"
# Reset everything # Reset everything
color normal ".*" color white ".*"
# Integers and floats # Integers and floats
color yellow "(^| |=)[0-9]+\.?[0-9]*" color yellow "(^| |=)[0-9]+\.?[0-9]*"
@ -18,7 +18,7 @@ color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))"
# Functions # Functions
color cyan "(^|[[:blank:]])\w+\(" color cyan "(^|[[:blank:]])\w+\("
color normal "\(|\)|\[|\]|,|=|\\=" color white "\(|\)|\[|\]|,|=|\\="
# Atoms # Atoms
color green start="\"" end="\"" color green start="\"" end="\""