Skip to content

Commit

Permalink
Merge pull request #262 from msfjarvis/msf/java-comments-fix
Browse files Browse the repository at this point in the history
java: Enforce atleast one leading space for comments
  • Loading branch information
scopatz committed Nov 10, 2019
2 parents 1ba2698 + ed2409d commit aa46e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -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:]]+$"

0 comments on commit aa46e20

Please sign in to comment.