Skip to content

Commit

Permalink
chore: add additional ignore file highlights
Browse files Browse the repository at this point in the history
Various files use the same syntax highlighting as `.gitignore` and
similarly tell different tools what files/folders to ignore. Update the
languages file so that other ignore type files use the same highlighting
as gitignore. The files added are:

- `.ignore`
- `.prettierignore`
- `.eslintignore`
- `.npmignore`

Resolves: #8089
  • Loading branch information
rossmanch committed Sep 10, 2023
1 parent 528a5e3 commit 0b47b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes", rev =
name = "git-ignore"
scope = "source.gitignore"
roots = []
file-types = [".gitignore", ".gitignore_global"]
file-types = [".gitignore", ".gitignore_global", ".ignore", ".prettierignore", ".eslintignore", ".npmignore"]
injection-regex = "git-ignore"
comment-token = "#"
grammar = "gitignore"
Expand Down

0 comments on commit 0b47b04

Please sign in to comment.