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.
Grammar compiler tweaks and improvements (github-linguist#4444)
* Add git-config > gitconfig grammar alias * Add list of files to ignore and grammars in nonstd path * Validate grammars with files in nonstd path * Ignore known duds * Easy rebuild and run grammar-compiler locally * Alias source.smarty to text.html.smarty * Alias text.slm to text.slim slm is a javascript port of Slim as per slim-template/slim#526 * Alias text.pug to text.jade Jade was renamed to pug but the grammar still refers to it as Jade * Ignore files produced by the grammar compiler * Use a map[string]bool instead of a loop * Don't ignore err
- Loading branch information
Showing
5 changed files
with
38 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ test/fixtures/ace_modes.json | |
/tmp | ||
*.bundle | ||
*.so | ||
linguist-grammars* |
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
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