blob: 42d276cd2e3c5b6a03b14905658bd2b22cf171a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
; highlights.scm
[
(import)
(package)
] @include
[
(with)
(as)
(every)
(some)
(in)
(not)
(if)
(contains)
(else)
(default)
"null"
] @keyword
[
"true"
"false"
] @boolean
[
(assignment_operator)
(bool_operator)
(arith_operator)
(bin_operator)
] @operator
[
(string)
(raw_string)
] @string
(term (ref (var))) @variable
(comment) @comment
(number) @number
(expr_call func_name: (fn_name (var) @function .))
(expr_call func_arguments: (fn_args (expr) @parameter))
(rule_args (term) @parameter)
[
(open_paren)
(close_paren)
(open_bracket)
(close_bracket)
(open_curly)
(close_curly)
] @punctuation.bracket
(rule (rule_head (var) @method))
(rule
(rule_head (term (ref (var) @namespace)))
(rule_body (query (literal (expr (expr_infix (expr (term (ref (var)) @_output)))))) (#eq? @_output @namespace))
)
|