From b4e51ef89570f752f5267d3fe0ac22c51e148386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20H=E1=BB=93ng=20Qu=C3=A2n?= Date: Fri, 16 May 2025 21:32:29 +0700 Subject: [PATCH] More glob to detect gitattributes file (#13540) --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 7cc373003..9550df1f4 100644 --- a/languages.toml +++ b/languages.toml @@ -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"