summaryrefslogtreecommitdiff
path: root/runtime/queries/diff/highlights.scm
diff options
context:
space:
mode:
authorMichael Davis2022-09-06 03:02:37 +0000
committerGitHub2022-09-06 03:02:37 +0000
commit43b31f702a13d3ced2dc414d2febe5bcf222366a (patch)
tree776e285bdff716d0be726421a7b4e2945325c10e /runtime/queries/diff/highlights.scm
parentf7c216d497efdca8de61a0deb34449c85c6d5229 (diff)
Update tree-sitter-diff (#3708)
This change also renames the grammar from `git-diff` to `diff`. The grammar covers regular diff syntax so I renamed the repository a while ago.
Diffstat (limited to 'runtime/queries/diff/highlights.scm')
-rw-r--r--runtime/queries/diff/highlights.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/diff/highlights.scm b/runtime/queries/diff/highlights.scm
new file mode 100644
index 00000000..1c1a8829
--- /dev/null
+++ b/runtime/queries/diff/highlights.scm
@@ -0,0 +1,6 @@
+[(addition) (new_file)] @diff.plus
+[(deletion) (old_file)] @diff.minus
+
+(commit) @constant
+(location) @attribute
+(command) @markup.bold