Add haml as a type

21 views
Skip to first unread message

Danny Colligan

unread,
Apr 4, 2008, 2:29:33 AM4/4/08
to ack dev/users
Could haml be added as a type? It's an alternative templating
language for ruby.

Danny Colligan

dannyc@omega:~/ack$ svn diff
Index: ack-standalone
===================================================================
--- ack-standalone (revision 829)
+++ ack-standalone (working copy)
@@ -932,7 +932,7 @@
php => [qw( php phpt php3 php4 php5 )],
plone => [qw( pt cpt metadata cpy py )],
python => [qw( py )],
- ruby => [qw( rb rhtml rjs rxml erb )],
+ ruby => [qw( rb rhtml rjs rxml erb haml )],
scheme => [qw( scm )],
shell => [qw( sh bash csh tcsh ksh zsh )],
skipped => q{Files, but not directories, normally skipped
by ack (default: off)},
Index: ack-help-types.txt
===================================================================
--- ack-help-types.txt (revision 829)
+++ ack-help-types.txt (working copy)
@@ -36,7 +36,7 @@
--[no]php .php .phpt .php3 .php4 .php5
--[no]plone .pt .cpt .metadata .cpy .py
--[no]python .py
- --[no]ruby .rb .rhtml .rjs .rxml .erb
+ --[no]ruby .rb .rhtml .rjs .rxml .erb .haml
--[no]scheme .scm
--[no]shell .sh .bash .csh .tcsh .ksh .zsh
--[no]skipped Files, but not directories, normally skipped
by ack (default: off)
Index: Ack.pm
===================================================================
--- Ack.pm (revision 829)
+++ Ack.pm (working copy)
@@ -96,7 +96,7 @@
php => [qw( php phpt php3 php4 php5 )],
plone => [qw( pt cpt metadata cpy py )],
python => [qw( py )],
- ruby => [qw( rb rhtml rjs rxml erb )],
+ ruby => [qw( rb rhtml rjs rxml erb haml )],
scheme => [qw( scm )],
shell => [qw( sh bash csh tcsh ksh zsh )],
skipped => q{Files, but not directories, normally skipped
by ack (default: off)},

Andy Lester

unread,
Apr 13, 2008, 12:12:11 PM4/13/08
to ack-...@googlegroups.com

On Apr 4, 2008, at 1:29 AM, Danny Colligan wrote:
> Could haml be added as a type? It's an alternative templating
> language for ruby.


Unfortunately (for your request), I'm going to draw a line in the
sand. I'm not going to add any more templating systems to ack. At
this point, I'm only going to add new languages.

Now that users have the ability to add extensions at will, I'm going
to be a lot more stringent on what gets in.

Thanks for understanding,
xoxo,
Andy

--
Andy Lester => an...@petdance.com => www.petdance.com => AIM:petdance


Reply all
Reply to author
Forward
0 new messages