summaryrefslogtreecommitdiff
path: root/runtime/queries/git-attributes
diff options
context:
space:
mode:
authorMatthew Toohey2022-05-05 13:47:28 +0000
committerGitHub2022-05-05 13:47:28 +0000
commita5f4925f53d447bb7201c9a6e7a1c2730f292ae4 (patch)
tree3e9c1a6d70df846a81d2848898220e0fe9ce01f4 /runtime/queries/git-attributes
parentfc61796895a0175ccfed7f572960dc3cd21e7f04 (diff)
feat(languages): git-ignore and git-attributes (#2397)
Diffstat (limited to 'runtime/queries/git-attributes')
-rw-r--r--runtime/queries/git-attributes/highlights.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/git-attributes/highlights.scm b/runtime/queries/git-attributes/highlights.scm
new file mode 100644
index 00000000..0b1415b5
--- /dev/null
+++ b/runtime/queries/git-attributes/highlights.scm
@@ -0,0 +1,9 @@
+; inherits: git-ignore
+
+(attribute) @variable
+(value) @string
+
+(quoted_pattern ["\""] @string)
+
+(attribute_unset) @operator
+(attribute_set_to) @operator