1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 00:25:39 +01:00

Added syntax highlighting for javadoc

This commit is contained in:
Dante Falzone 2019-12-25 21:55:19 -06:00 committed by GitHub
parent 8a999dde46
commit c06c2b0a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,4 +13,10 @@ icolor yellow "\b(([1-9][0-9]+)|0+)\.[0-9]+\b" "\b[1-9][0-9]*\b" "\b0[0-7]*\b" "
color blue "^\s*//.*"
color blue start="/\*" end="\*/"
color brightblue start="/\*\*" end="\*/"
# Highlighting for javadoc stuff
color magenta "@param [a-zA-Z_][a-z0-9A-Z_]+"
color magenta "@return"
color magenta "@author.*"
color ,green "[[:space:]]+$"