mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
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:
parent
5873ea106f
commit
062c6f0f4d
|
@ -1,10 +1,10 @@
|
|||
## Here is a prolog example.
|
||||
|
||||
syntax prolog "\.pl"
|
||||
syntax "prolog" "\.pl"
|
||||
comment "%"
|
||||
|
||||
# Reset everything
|
||||
color normal ".*"
|
||||
color white ".*"
|
||||
|
||||
# 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 white "\(|\)|\[|\]|,|=|\\="
|
||||
|
||||
# Atoms
|
||||
color green start="\"" end="\""
|
||||
|
|
Loading…
Reference in New Issue
Block a user