From 21f8c19355437abdeecb3541d30535750824fd28 Mon Sep 17 00:00:00 2001 From: Ferdinand Keil Date: Sat, 21 Dec 2019 15:25:18 +0100 Subject: [PATCH] resolved syntax errors in hcl.nanorc and prolog.nanorc --- hcl.nanorc | 2 +- prolog.nanorc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hcl.nanorc b/hcl.nanorc index b839d87..0afb8cb 100644 --- a/hcl.nanorc +++ b/hcl.nanorc @@ -4,7 +4,7 @@ # Original author: John Boero # License: GPLv3 or newer -syntax hcl "\.(tf|hcl)$" +syntax "Hcl" "\.(tf|hcl)$" # No comments are permitted in JSON. comment "" diff --git a/prolog.nanorc b/prolog.nanorc index 8475ab6..3887c60 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="\""