Skip to content

Create --lazarus and --pascal file types #300

Open
@maugly24

Description

@maugly24

I've been using using ack since 2015 with a great love for very different projects (Apache open source java, scala, etc.)

Recently I've started to work on different Pascal projects as well, and found a bit clumsy there is no --pascal and --lazarus file types, but --delphi does exist (though I think nowadays FPC and Lazarus is more well spread than the commercial Delphi line).

So IMHO it would be great to have these types as standard part of ack3, and not just stored in my own ~/.ackrc like:

# Lazarus (Free Pascal)
# https://en.wikipedia.org/wiki/Lazarus_(IDE)
--type-add=lazarus:ext:lpi,lpr,lfm,p,pp,pas,inc,lpk,rc,po

# Pascal
# https://en.wikipedia.org/wiki/Pascal_(programming_language)
--type-add=pascal:ext:p,pp,pas,inc

I've also implemented in my own fork, so we could easily create a PR from it any time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    filetypeDefault filetypes and ignores

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions