Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/jjrevset/highlights.scm')
| -rw-r--r-- | runtime/queries/jjrevset/highlights.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/queries/jjrevset/highlights.scm b/runtime/queries/jjrevset/highlights.scm new file mode 100644 index 00000000..4bd07f5d --- /dev/null +++ b/runtime/queries/jjrevset/highlights.scm @@ -0,0 +1,18 @@ +(at_op) @variable.builtin + +[ + "::" ".." + (negate_op) + (union_op) (intersection_op) (difference_op) +] @operator + +["(" ")"] @punctuation.bracket +"," @punctuation.delimiter +[(raw_string_literal) (string_literal)] @string + +(function ((strict_identifier) @function)) +(function (function_arguments (keyword_argument (strict_identifier) @variable.parameter))) + +(primary ((identifier) @variable)) + +(string_pattern (strict_identifier) @keyword) |