beyondgrep / ack3

ack is a grep-like search tool optimized for source code.
https://beyondgrep.com/
Other
701 stars 66 forks source link

Add .adoc to filetypes #354

Open petdance opened 2 years ago

petdance commented 2 years ago

https://asciidoc.org/

thiagowfx commented 1 year ago

I asked ChatGPT which extensions to add here:

What are the file extensions for AsciiDoc?
The file extensions for AsciiDoc files are typically .adoc, .asciidoc, or .asc. 

.asc may be confounded with GPG though (https://stackoverflow.com/a/59241707/1745064)

petdance commented 1 year ago

Thanks, and I need something more authoritative than a bot. Some sort of docs.

thiagowfx commented 1 year ago

From experience, these extensions are indeed correct.

adoc is more popular AFAIK, here’s one example: https://github.com/rochacbruno/asciidoctor-book-template

I’ve seen asciidoc a few times too.

But yeah, if you want to point out to official docs then hopefully someone else can chime in.

petdance commented 4 months ago

Is this something that still makes sense?

Like --type-add=asciidoc=*.adoc,*.asciidoc ?

thiagowfx commented 4 months ago

IMHO, yes.