I would like to make ack ignore ".mako.py" which are files generated
by Mako templating system. Hence I've added the following lines in
~/.ackrc:
--type-set=makopy=.mako.py
--nomakopy
I hoped this would make ack ignore those files by default. It didn't work.
After some experimentation I found that ack seems to be treating
".mako.py" files just as ".py" files, hence "makopy" type is never
used.
Is there any way to make this work?
Unfortunately perl is not my strong side, so I couldn't find a
solution reading through source code.
Best regards,
Gleb Peregud
Is there any way to make this work?