aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/kusto/highlights.scm
blob: 5f00f751c449130905b55ba5e779fc0bd9e919cd (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
(identifier) @variable

(let_keyword) @keyword

(function_call
  (identifier) @function.call)

[
  (type_cast_function)
  (to_scalar_function)
  (between_function)
  (datatable_function)
] @function.call

(typed_parameter
  (identifier) @variable.parameter)

(function_arguments
  (identifier) @variable.parameter)

[
  (binary_operator)
  (compound_keywords)
  (operator)
  (range_operator)
  (join_operator)
  (sub_operator)
  (to_operator)
  (mv_apply_operator)
  (sort_keyword)
] @keyword.operator

(string) @string

(number) @number

(bool) @boolean

(null) @constant.builtin

(comment) @comment @spell

(type) @type

(join_types) @keyword.modifier

[
  "("
  ")"
  "["
  "]"
  "{"
  "}"
] @punctuation.bracket

[
  ","
  ":"
  (pipe)
] @punctuation.delimiter