From da09c7c6bb1267996db7751e775d08742256f3f2 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 1 Jan 2007 16:26:17 +0000 Subject: New Scanner: Scheme (thanks closure!) Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT --- lib/coderay/helpers/file_type.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/coderay/helpers') diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb index 13b669d..3d29d78 100644 --- a/lib/coderay/helpers/file_type.rb +++ b/lib/coderay/helpers/file_type.rb @@ -80,6 +80,7 @@ module FileType 'rb' => :ruby, 'rbw' => :ruby, 'rake' => :ruby, + 'mab' => :ruby, 'cpp' => :c, 'c' => :c, 'h' => :c, @@ -89,6 +90,8 @@ module FileType 'xhtml' => :xhtml, 'raydebug' => :debug, 'rhtml' => :rhtml, + 'ss' => :scheme, + 'sch' => :scheme, 'yaml' => :yaml, 'yml' => :yaml, } -- cgit v1.2.1