Skip to content

Commit c8eeb78

Browse files
authored
Update java.yaml (zyedidia#3526)
1 parent aeabd5a commit c8eeb78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/syntax/java.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ detect:
44
filename: "\\.java$"
55

66
rules:
7-
- type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b"
7+
- type: "\\b(boolean|byte|char|double|float|int|long|new|var|short|this|transient|void)\\b"
88
- statement: "\\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\\b"
99
- type: "\\b(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\\b"
1010
- constant: "\\b(true|false|null)\\b"

0 commit comments

Comments
 (0)