From 43b31f702a13d3ced2dc414d2febe5bcf222366a Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 5 Sep 2022 22:02:37 -0500 Subject: 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.--- runtime/queries/diff/highlights.scm | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 runtime/queries/diff/highlights.scm (limited to 'runtime/queries/diff') 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 -- cgit v1.2.3-70-g09d2