From e1661ccc6dff047121fbfac7ec5259b27ce7ebe2 Mon Sep 17 00:00:00 2001 From: Csaba Maulis Date: Tue, 11 Sep 2018 07:59:23 +0800 Subject: [PATCH] Maintan nano v2.7.x compatbility --- prolog.nanorc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prolog.nanorc b/prolog.nanorc index 8475ab6..d6e2a34 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 brightwhite ".*" # 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 brightwhite "\(|\)|\[|\]|,|=|\\=" # Atoms color green start="\"" end="\"" @@ -32,4 +32,4 @@ color white start="/\*" end="\*/" color black,yellow "(BUG|DEBUG|FIXME|IDEA|NOTE|REVIEW|TEMP|TODO|WARNING|XXX)" # Spaces in front of tabs -color ,red " + +" +color ,red " + +"