commit 85804ec70db060c21df48d5c2861cc39511559de
parent e473ba5e6cae947f9e08af5462c987fc4a8fd826
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 31 Mar 2019 12:17:49 +0200
syntax: man: require the dot to be at start of line, not the comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/man.nanorc b/syntax/man.nanorc
@@ -17,7 +17,7 @@ color yellow "^\.(RS|RE|UR|UE|PD|DT)"
color yellow "^\.(ad|bp|br|ce|de|ds|el|ie|if|fi|ft|hy|ig|in|na|ne|nf|nh|ps|so|sp|ti|tr)"
# Comments.
-color cyan "^\.?\\\".*"
+color cyan "(^\.)?\\\".*"
# Trailing whitespace.
color ,green "[[:space:]]+$"