mirror of
https://github.com/scopatz/nanorc
synced 2024-11-24 03:10:26 +01:00
Fixes nano's complaints with prolog.nanorc
1. Nano complains that `syntax` requires strings to be quoted. 2. `color normal` fails. Color can only be white, black, red, blue, green, yellow, magenta, and cyan
This commit is contained in:
parent
bdb317ee11
commit
2f5ca7b681
|
@ -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="\""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user