aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/gitattributes/test.gitattributes
blob: 5b2e12005a14970c712e53fbf6a7bd316b65fa40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[attr]nodiff -diff -merge
# <- preproc
#     ^^^^^^ property
#            ^ operator
#             ^^^^ variable.builtin
#                  ^ operator
#                   ^^^^^ variable.builtin

vendor/** linguist-vendored=true
#     ^ punctuation.delimiter
#      ^^ punctuation.special
#         ^^^^^^^^^^^^^^^^^ parameter
#                          ^ operator
#                           ^^^^ boolean

  [^._]-[[:lower:]] !something
# ^ punctuation.bracket
#  ^ operator
#   ^^ string.special
#     ^ punctuation.bracket
#       ^ punctuation.bracket
#        ^^^^^^^^^ constant
#                 ^ punctuation.bracket
#                   ^ operator
#                    ^^^^^^^^^^ parameter

"_\u4E00\t\56txt" encoding=UTF-16
# <- character.special
# ^^^^^^ string.escape
#       ^^ string.escape
#         ^^^ string.escape
#               ^ character.special
#                 ^^^^^^^^ variable.builtin
#                         ^ operator
#                          ^^^^^^ string

# vim:ft=gitattributes: