commit 4063fce6a0c8c0d77a33f5742c5b9e15ce5cd12a
parent 3db2beefd3ce61f34911fdf7dbbaa9bea1990591
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 23 May 2017 20:07:15 +0200
syntax: default: allow leading whitespace before a hash comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/default.nanorc b/syntax/default.nanorc
@@ -5,7 +5,7 @@ syntax "default"
comment "#"
# Comments.
-color cyan "^#.*"
+color cyan "^[[:space:]]*#.*"
# Spaces in front of tabs.
color ,red " + +"