aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/gitattributes/test.gitattributes
blob: 4595b94f21f76efb3b7972598462f2a199d690d9 (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
# <- @keyword.directive
#     ^^^^^^ @property
#            ^ @operator
#             ^^^^ @variable.builtin
#                  ^ @operator
#                   ^^^^^ @variable.builtin

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

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

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

# vim:ft=gitattributes: