blob: 3cc32949d7261d797ad916f3c8e1e42ac26616eb (
plain) (
blame)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
; highlights.scm
[
(import)
(package)
] @keyword.import
[
(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 @spell
(number) @number
(expr_call
func_name: (fn_name
(var) @function .))
(expr_call
func_arguments: (fn_args
(expr) @variable.parameter))
(rule_args
(term) @variable.parameter)
[
(open_paren)
(close_paren)
(open_bracket)
(close_bracket)
(open_curly)
(close_curly)
] @punctuation.bracket
(rule
(rule_head
(var) @function.method))
(rule
(rule_head
(term
(ref
(var) @module)))
(rule_body
(query
(literal
(expr
(expr_infix
(expr
(term
(ref
(var)) @_output))))))
(#eq? @_output @module)))
|