Debian Codegraph @

runtime/queries/git-attributes/highlights.scm

raw symbols SCIP
1 ; inherits: git-ignore
2
3 (attribute) @variable
4 (value) @string
5
6 (quoted_pattern ["\""] @string)
7
8 (attribute_unset) @operator
9 (attribute_set_to) @operator
10
11 ; Highlight builtin diff configuration
12 ; The list of languages is taken from here https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
13 (attribute_set_to
14 (attribute) @operator (#eq? @operator "diff")
15 (value) @variable.builtin (#any-of? @variable.builtin
16 "ada"
17 "bash"
18 "bibtex"
19 "cpp"
20 "csharp"
21 "css"
22 "dts"
23 "elixir"
24 "fortran"
25 "fountain"
26 "golang"
27 "html"
28 "java"
29 "kotlin"
30 "markdown"
31 "matlab"
32 "objc"
33 "pascal"
34 "perl"
35 "php"
36 "python"
37 "ruby"
38 "rust"
39 "scheme"
40 "tex"
41 ))