Author: Michael Davis [mcarsondavis@gmail.com]
Hash: 330eb648bbc257b4e91621e82a85372be7dde27a
Timestamp: Fri, 16 Sep 2022 10:31:04 +0000 (2 years ago)

+9 -0 +/-1 browse
Add example highlights
1diff --git a/queries/highlights.scm b/queries/highlights.scm
2new file mode 100644
3index 0000000..b01f6c5
4--- /dev/null
5+++ b/queries/highlights.scm
6 @@ -0,0 +1,9 @@
7+ ; These scopes are arbitrary and line up with good colors for the
8+ ; `tree-sitter highlight` command. Adapt them as you see fit.
9+
10+ [(addition) (new_file)] @string
11+ [(deletion) (old_file)] @keyword
12+
13+ (commit) @constant
14+ (location) @attribute
15+ (command) @variable.builtin