Skip to content

Commit

Permalink
support for special type 'var'
Browse files Browse the repository at this point in the history
  • Loading branch information
dfa1 committed Sep 30, 2018
1 parent d385021 commit acf422a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/coderay/scanners/java.rb
Expand Up @@ -20,7 +20,7 @@ class Java < Scanner
MAGIC_VARIABLES = %w[ this super ] # :nodoc:
TYPES = %w[
boolean byte char class double enum float int interface long
short void
short void var
] << '[]' # :nodoc: because int[] should be highlighted as a type
DIRECTIVES = %w[
abstract extends final implements native private protected public
Expand Down

0 comments on commit acf422a

Please sign in to comment.