From ed2409da612c0e009651f75b332283125e71171c Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 10 Nov 2019 19:28:25 +0530 Subject: [PATCH] java: Enforce atleast one leading space for comments This might not be the best way to approach the problem Signed-off-by: Harsh Shandilya --- java.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java.nanorc b/java.nanorc index 8d37d5c..9ec2b6e 100644 --- a/java.nanorc +++ b/java.nanorc @@ -7,7 +7,7 @@ color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interfa color red ""[^"]*"" color yellow "\<(true|false|null)\>" icolor yellow "\b(([1-9][0-9]+)|0+)\.[0-9]+\b" "\b[1-9][0-9]*\b" "\b0[0-7]*\b" "\b0x[1-9a-f][0-9a-f]*\b" -color blue "//.*" +color blue " //.*" color blue start="/\*" end="\*/" color brightblue start="/\*\*" end="\*/" color ,green "[[:space:]]+$"