Skip to content

Commit

Permalink
added documentation comments to c.nanorc
Browse files Browse the repository at this point in the history
  • Loading branch information
willow385 committed Dec 26, 2019
1 parent c06c2b0 commit 8959bae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions c.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,10 @@ color cyan "<[^= ]*>" ""(\\.|[^"])*""
color brightblue "^\s*//.*"
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
color ,green "[[:space:]]+$"

0 comments on commit 8959bae

Please sign in to comment.