From 7ddaf071c74becead7e58b88fc37177d44be8768 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 24 Jan 2021 09:39:08 +0100 Subject: [PATCH] rc java: highlight byte/short/long primitive types --- rc/filetype/java.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/java.kak b/rc/filetype/java.kak index 12cb99a3..d5c3fd8b 100644 --- a/rc/filetype/java.kak +++ b/rc/filetype/java.kak @@ -32,7 +32,7 @@ add-highlighter shared/java/inline_documentation region /// $ fill documentation add-highlighter shared/java/line_comment region // $ fill comment add-highlighter shared/java/code/ regex %{\b(this|true|false|null)\b} 0:value -add-highlighter shared/java/code/ regex "\b(void|int|char|unsigned|float|boolean|double)\b" 0:type +add-highlighter shared/java/code/ regex "\b(void|byte|short|int|long|char|unsigned|float|boolean|double)\b" 0:type add-highlighter shared/java/code/ regex "\b(while|for|if|else|do|static|switch|case|default|class|interface|enum|goto|break|continue|return|import|try|catch|throw|new|package|extends|implements|throws|instanceof)\b" 0:keyword add-highlighter shared/java/code/ regex "\b(final|public|protected|private|abstract|synchronized|native|transient|volatile)\b" 0:attribute add-highlighter shared/java/code/ regex "(?