mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
added documentation comments to c.nanorc
This commit is contained in:
parent
c06c2b0a4f
commit
8959baefff
1 changed files with 5 additions and 0 deletions
5
c.nanorc
5
c.nanorc
|
|
@ -40,5 +40,10 @@ color cyan "<[^= ]*>" ""(\\.|[^"])*""
|
||||||
color brightblue "^\s*//.*"
|
color brightblue "^\s*//.*"
|
||||||
color brightblue start="/\*" end="\*/"
|
color brightblue start="/\*" end="\*/"
|
||||||
|
|
||||||
|
# Highlighting for documentation comments
|
||||||
|
color magenta "@param [a-zA-Z_][a-z0-9A-Z_]+"
|
||||||
|
color magenta "@return"
|
||||||
|
color magenta "@author.*"
|
||||||
|
|
||||||
## Trailing whitespace
|
## Trailing whitespace
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue