diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2019-02-23 15:32:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-23 15:32:03 +0100 |
commit | ca961f89f6224a923d9f5a5357d63c1e0160a4b3 (patch) | |
tree | c58f554c794e15d5e8f239843605e35a5be147e0 /lib/coderay/scanners | |
parent | baf2b0369b8515d759aca1338f521d8789838ce5 (diff) | |
parent | acf422a444813a84a952b39a569bc0f26c77c5a5 (diff) | |
download | coderay-ca961f89f6224a923d9f5a5357d63c1e0160a4b3.tar.gz |
Merge pull request #229 from dfa1/java10-support
java: support for special type 'var'
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r-- | lib/coderay/scanners/java.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/java.rb b/lib/coderay/scanners/java.rb index 982a796..a490ec6 100644 --- a/lib/coderay/scanners/java.rb +++ b/lib/coderay/scanners/java.rb @@ -20,7 +20,7 @@ module Scanners 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 |