Debian Codegraph @

runtime/queries/ink/highlights.scm

raw symbols SCIP
1 ; tags and labels
2 (label) @label
3 (tag (identifier) @comment)
4 (tag) @comment
5
6 ; values
7 (identifier) @function
8 (string) @string
9 (boolean) @constant.builtin.boolean
10 (number) @constant.numeric
11
12 ; headers
13 (knot_header) @keyword
14 (stitch_header) @keyword
15 (function_header) @keyword
16
17 ; marks (ink)
18 (option_mark) @keyword.directive
19 (gather_mark) @type.builtin
20 (glue) @type.builtin
21
22 ; calls
23 (divert_or_thread) @function
24
25 ; operators
26 (assignment) @operator
27
28 ; special marks/operators (ink)
29 (arrow) @special
30 (double_arrow) @special
31 (back_arrow) @constant
32 (dot) @special
33 (mark_start) @special
34 (mark_end) @special
35 (hide_start) @special
36 (hide_end) @special
37
38 ; declarations
39 (var_line) @attribute
40 (const_line) @constant
41 (list_line) @type
42
43 ; comments
44 (line_comment) @comment
45 (block_comment) @comment
46
47 ; unparsed code
48 (inline_block) @keyword
49 (condition_block) @keyword
50 (code_text) @keyword
51
52 ; support injection
53 (program) @ui.text