From 42997309b6ba7c98aad3ae8269debeabf7243a4d Mon Sep 17 00:00:00 2001 From: esler Date: Thu, 25 May 2017 13:35:02 +0200 Subject: [PATCH] highlight standard comments lines starting with `;` are comments, see https://en.wikipedia.org/wiki/INI_file#Comments --- ini.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ini.nanorc b/ini.nanorc index e30825c8..8374b1ea 100644 --- a/ini.nanorc +++ b/ini.nanorc @@ -6,6 +6,6 @@ color cyan "^[[:space:]]*[^=]*=" color brightmagenta "^[[:space:]]*\[.*\]$" color red "[=;]" color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'" -color brightblack "(^|[[:space:]])#([^{].*)?$" +color brightblack "(^|[[:space:]])(#([^{].*)?|;.*)$" color ,green "[[:space:]]+$" color ,red " + +| + +"