From a9a99f7da467c4e83ad517e154058cbd2fca0533 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 20 Dec 2021 23:07:22 -0600 Subject: [PATCH] add basic highlights query --- runtime/queries/rebase/highlights.scm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 runtime/queries/rebase/highlights.scm diff --git a/runtime/queries/rebase/highlights.scm b/runtime/queries/rebase/highlights.scm new file mode 100644 index 000000000..56ec4e38f --- /dev/null +++ b/runtime/queries/rebase/highlights.scm @@ -0,0 +1,9 @@ +(operation operator: ["p" "pick" "r" "reword" "e" "edit" "s" "squash" "m" "merge" "d" "drop" "b" "break" "x" "exec"] @keyword) +(operation operator: ["l" "label" "t" "reset"] @function) +(operation operator: ["f" "fixup"] @function.special) + +(option) @operator +(label) @string.special.symbol +(commit) @constant +"#" @punctuation.delimiter +(comment) @comment