From 062c6f0f4dedb67fbf9234ca807115a662918f69 Mon Sep 17 00:00:00 2001 From: Dante Barbieri Date: Thu, 22 Aug 2019 09:40:55 -0500 Subject: [PATCH] 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" --- 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="\""