8000 support for special type 'var' · rubychan/coderay@acf422a · GitHub
[go: up one dir, main page]

Skip to content

Commit acf422a

Browse files
committed
support for special type 'var'
1 parent d385021 commit acf422a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/scanners/java.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Java < Scanner
2020
MAGIC_VARIABLES = %w[ this super ] # :nodoc:
2121
TYPES = %w[
2222
boolean byte char class double enum float int interface long
23-
short void
23+
short void var
2424
] << '[]' # :nodoc: because int[] should be highlighted as a type
2525
DIRECTIVES = %w[
2626
abstract extends final implements native private protected public

0 commit comments

Comments
 (0)
0