forked from github-linguist/linguist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for generic option-lists like
.ackrc
(github-linguist#6088
) Co-authored-by: Colin Seymour <[email protected]>
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--smart-case | ||
--follow | ||
|
||
# Always use coloured output | ||
--colour | ||
|
||
--ignore-directory=is:.bundle | ||
--ignore-directory=is:tmp | ||
--ignore-file=is:samples.json | ||
|
||
--type-add=coffeescript=.cson | ||
--type-add=ruby=Gemfile,Rubyfile | ||
--type-add=xml=.xmp,.dae,.plist | ||
--type-add=yaml=.yaml-tmlanguage,.sublime-syntax | ||
--type-add=js=.mjs,.cjs | ||
--type-add=ts=.mts,.cts | ||
--type-add=json=.jsonc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# lexically sort filenames | ||
--sort-files | ||
|
||
--type-add=ruby=rake,haml,erb | ||
--type-add=vim=vimrc | ||
--type-add=js=json | ||
--type-set=css=sass | ||
|
||
# add types ack doesn't know about | ||
--type-set=MARKDOWN=md,mkd,markdown | ||
--type-set=RDOC=rdoc | ||
|
||
# useful options, almost same as defined in vimrc | ||
-H | ||
--smart-case | ||
|
||
# ackignore | ||
--ignore-dir=.binstubs | ||
--ignore-dir=vendor/bundle | ||
--ignore-dir=vendor/cache | ||
--ignore-dir=bower_components | ||
--ignore-dir=node_modules | ||
--ignore-dir=dist | ||
--ignore-dir=log | ||
--ignore-dir=tmp | ||
--ignore-dir=vim/bundle | ||
--ignore-file=is:Session.vim | ||
--ignore-file=is:tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters