Skip to content

Commit

Permalink
EditorConfig: Add aliases for hgignore and npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Jul 22, 2020
1 parent 3553175 commit 30d0a3c
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions components.json
Expand Up @@ -486,9 +486,15 @@
"ignore": {
"title": ".ignore",
"owner": "osipxd",
"alias": "gitignore",
"alias": [
"gitignore",
"hgignore",
"npmignore"
],
"aliasTitles": {
"gitignore": ".gitignore"
"gitignore": ".gitignore",
"hgignore": ".hgignore",
"npmignore": ".npmignore"
}
},
"inform7": {
Expand Down
2 changes: 2 additions & 0 deletions components/prism-ignore.js
Expand Up @@ -31,5 +31,7 @@
};

Prism.languages.gitignore = Prism.languages.ignore
Prism.languages.hgignore = Prism.languages.ignore
Prism.languages.npmignore = Prism.languages.ignore

}(Prism));
2 changes: 1 addition & 1 deletion components/prism-ignore.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/autoloader/prism-autoloader.js
Expand Up @@ -173,6 +173,8 @@
"gamemakerlanguage": "gml",
"hs": "haskell",
"gitignore": "ignore",
"hgignore": "ignore",
"npmignore": "ignore",
"webmanifest": "json",
"kt": "kotlin",
"kts": "kotlin",
Expand Down
2 changes: 1 addition & 1 deletion plugins/autoloader/prism-autoloader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/show-language/prism-show-language.js
Expand Up @@ -83,6 +83,8 @@
"ichigojam": "IchigoJam",
"ignore": ".ignore",
"gitignore": ".gitignore",
"hgignore": ".hgignore",
"npmignore": ".npmignore",
"inform7": "Inform 7",
"javadoc": "JavaDoc",
"javadoclike": "JavaDoc-like",
Expand Down
2 changes: 1 addition & 1 deletion plugins/show-language/prism-show-language.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30d0a3c

Please sign in to comment.