From 27b3a6e1b5831a1925312ba413685499667ee8d3 Mon Sep 17 00:00:00 2001 From: CoffeeTableEnnui Date: Tue, 30 Aug 2016 14:29:01 -0700 Subject: [PATCH] Added basic number highlighting Highlighting for octal, hex, int, float. --- java.nanorc | 1 + 1 file changed, 1 insertion(+) diff --git a/java.nanorc b/java.nanorc index 0a1d59d..8d37d5c 100644 --- a/java.nanorc +++ b/java.nanorc @@ -6,6 +6,7 @@ color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|sw color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>" color red ""[^"]*"" color yellow "\<(true|false|null)\>" +icolor yellow "\b(([1-9][0-9]+)|0+)\.[0-9]+\b" "\b[1-9][0-9]*\b" "\b0[0-7]*\b" "\b0x[1-9a-f][0-9a-f]*\b" color blue "//.*" color blue start="/\*" end="\*/" color brightblue start="/\*\*" end="\*/"