summaryrefslogtreecommitdiff
path: root/lib/coderay/helpers
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-01-13 16:00:19 +0000
committermurphy <murphy@rubychan.de>2009-01-13 16:00:19 +0000
commitdee392f22511b9e91dfa3dc089be30a940e027c9 (patch)
tree937f2dc237605467ae17d65149a5ee1f672cc600 /lib/coderay/helpers
parent0aa5f6d83c6d2bb0b4b5df45cedf057cd9c5099e (diff)
downloadcoderay-dee392f22511b9e91dfa3dc089be30a940e027c9.tar.gz
New: *Groovy Scanner* (feature #60)
* It inherits from Java Scanner, re-using some constants. * Thanks to Stefan Weinmann for helping me with Groovy. * PLEAC code used for testing. * Some issues with remain with strings and regexps. * Rating: 2 / 5 stars, "Basic support" * Added .groovy and .gvy to FileType. * CodeRay now supports a language that pygments doesn't support ;-)
Diffstat (limited to 'lib/coderay/helpers')
-rw-r--r--lib/coderay/helpers/file_type.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/coderay/helpers/file_type.rb b/lib/coderay/helpers/file_type.rb
index fbc95ec..3c5979a 100644
--- a/lib/coderay/helpers/file_type.rb
+++ b/lib/coderay/helpers/file_type.rb
@@ -87,6 +87,8 @@ module FileType
'mab' => :ruby,
'cpp' => :c,
'c' => :c,
+ 'gvy' => :groovy,
+ 'groovy' => :groovy,
'h' => :c,
'java' => :java,
'js' => :java_script,