More glob to detect gitattributes file (#13540)

pull/13551/head
Nguyễn Hồng Quân 2025-05-16 21:32:29 +07:00 committed by GitHub
parent f157a918a3
commit b4e51ef895
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1899,7 +1899,7 @@ source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config", rev
[[language]]
name = "git-attributes"
scope = "source.gitattributes"
file-types = [{ glob = ".gitattributes" }]
file-types = [{ glob = ".gitattributes" }, { glob = ".config/git/attributes" }]
injection-regex = "git-attributes"
comment-token = "#"
grammar = "gitattributes"