Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Markdown files and Readmes #150

Closed
allan opened this Issue · 5 comments

4 participants

@allan

I'd like to see all files ending with .md, .mkd, .markdown and all Readme's (whitout any extension) added to the files that are searched when no extra option is given.

@jm3

+1

@jm3

I would be happy to implement this if there are any pointers anyone can direct me toward. --type-set text=md and --type-add text=md both fail with the error, Builtin type "text" cannot be changed.

@hoelzro
Collaborator

I can't speak for @petdance, but he would probably say that this will be doable in ack2. For the time being, you can add the following to your .ackrc to get --markdown to work, and also to add .md files to the list of files considered by default:

--type-set markdown=.md
@petdance
Owner

@allan The key is that ack 1.x is designed to only search source code. Markdown and READMEs aren't source code. Ack 2.x will be more forgiving.

@petdance
Owner

Text opening behavior has changed in ack 2.

@petdance petdance closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.