From 111e773fa5881b278ac4ae6745431b3007ea4ca6 Mon Sep 17 00:00:00 2001 From: Muhammad Hussein Fattahizadeh Date: Tue, 31 Dec 2019 02:16:16 +0330 Subject: [PATCH 1/3] Update hcl.nanorc --- hcl.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcl.nanorc b/hcl.nanorc index b839d87..f02308b 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 "" From eea5629d2c38e213739b9caa0981417868c11d8b Mon Sep 17 00:00:00 2001 From: Muhammad Hussein Fattahizadeh Date: Tue, 31 Dec 2019 02:20:15 +0330 Subject: [PATCH 2/3] Update prolog.nanorc --- prolog.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prolog.nanorc b/prolog.nanorc index 8475ab6..749c93a 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]*" From bc4d152650fefc8fc6aba90396f187a6436409f6 Mon Sep 17 00:00:00 2001 From: Muhammad Hussein Fattahizadeh Date: Tue, 31 Dec 2019 02:21:30 +0330 Subject: [PATCH 3/3] Update prolog.nanorc --- prolog.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prolog.nanorc b/prolog.nanorc index 749c93a..c834991 100644 --- a/prolog.nanorc +++ b/prolog.nanorc @@ -18,7 +18,7 @@ color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))" # Functions color cyan "(^|[[:blank:]])\w+\(" -color normal "\(|\)|\[|\]|,|=|\\=" +color white "\(|\)|\[|\]|,|=|\\=" # Atoms color green start="\"" end="\""