From f9e1c11989142c767e608258f83ae6244447e78e Mon Sep 17 00:00:00 2001 From: Matt Bertolini Date: Mon, 20 Jun 2022 15:23:21 -0400 Subject: [PATCH] Add record keyword As of Java 16 Java supports a new class type known as records. This means a new keyword called "record". Adding this into the Java syntax. for compatibility. This should fix #64 --- Syntaxes/Java.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/Java.plist b/Syntaxes/Java.plist index 76d02ef..3f086e8 100644 --- a/Syntaxes/Java.plist +++ b/Syntaxes/Java.plist @@ -431,7 +431,7 @@ class begin - (?=\w?[\w\s]*(?:class|(?:@)?interface|enum)\s+\w+) + (?=\w?[\w\s]*(?:class|(?:@)?interface|enum|record)\s+\w+) end } endCaptures