mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Added syntax highlighting for javadoc
This commit is contained in:
parent
8a999dde46
commit
c06c2b0a4f
1 changed files with 6 additions and 0 deletions
|
|
@ -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 "^\s*//.*"
|
||||||
color blue start="/\*" end="\*/"
|
color blue start="/\*" end="\*/"
|
||||||
color brightblue 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:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue