From c06c2b0a4f9c2be12e7dcb5efdd426ea415e4913 Mon Sep 17 00:00:00 2001 From: Dante Falzone <48266179+DanteFalzone0@users.noreply.github.com> Date: Wed, 25 Dec 2019 21:55:19 -0600 Subject: [PATCH] Added syntax highlighting for javadoc --- java.nanorc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java.nanorc b/java.nanorc index 46e5dd5..912c5d5 100644 --- a/java.nanorc +++ b/java.nanorc @@ -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:]]+$"