1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-05-07 11:36:04 +02:00

Add support for highlighting any `.*ignore` file (#10579)

This commit is contained in:
Yoav Lavi 2024-04-24 15:06:19 +03:00 committed by GitHub
parent 22960e0d70
commit 50c90cb47c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1643,7 +1643,7 @@ source = { git = "https://github.com/mtoohey31/tree-sitter-gitattributes", rev =
[[language]]
name = "git-ignore"
scope = "source.gitignore"
file-types = [{ glob = ".gitignore" }, { glob = ".gitignore_global" }, { glob = ".ignore" }, { glob = ".prettierignore" }, { glob = ".eslintignore" }, { glob = ".npmignore"}, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }]
file-types = [{ glob = ".gitignore_global" }, { glob = ".ignore" }, { glob = "CODEOWNERS" }, { glob = ".config/helix/ignore" }, { glob = ".helix/ignore" }, { glob = ".*ignore" }]
injection-regex = "git-ignore"
comment-token = "#"
grammar = "gitignore"