diff options
Diffstat (limited to 'lib/coderay/scanners/json.rb')
-rw-r--r-- | lib/coderay/scanners/json.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/scanners/json.rb b/lib/coderay/scanners/json.rb index eb67347..d899e05 100644 --- a/lib/coderay/scanners/json.rb +++ b/lib/coderay/scanners/json.rb @@ -6,6 +6,7 @@ module Scanners include Streamable register_for :json + file_extension 'json' CONSTANTS = %w( true false null ) IDENT_KIND = WordList.new(:key).add(CONSTANTS, :reserved) |