From 2f5ca7b681ac1fcdc02ff93b0630d58092257972 Mon Sep 17 00:00:00 2001 From: Richard Fleming Date: Thu, 11 Oct 2018 00:24:41 -0400 Subject: [PATCH] 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 --- prolog.nanorc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prolog.nanorc b/prolog.nanorc index 8475ab6..c834991 100644 --- a/prolog.nanorc +++ b/prolog.nanorc @@ -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="\""