Unnamed repository; edit this file 'description' to name the repository.
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
fier ("use") @keyword.control.import (unique) @keyword.storage.modifier [ (operator) (pipe) (arrow_symbol) (or) (and) ] @operator [ "if" "else" "then" (match) (with) (cases) ] @keyword.control.conditional (blank_pattern) @variable.builtin (pattern) @variable (use_clause) @keyword.import ;; Types (record_field (field_name) @variable.other.member type: (regular_identifier) @type) (type_name) @type (type_declaration (regular_identifier) @type.enum.variant) (ability_name (path)? @namespace (regular_identifier) @type) (ability_declaration (ability_name) @type (type_argument) @variable.parameter) (type_constructor) @constructor (constructor (constructor_name) @constructor) (constructor type: (regular_identifier) @type) (effect (regular_identifier) @special) ; NOTE: an effect is a special type ; Namespaces (path) @module (namespace) @module ; Terms (type_signature term_name: (path) @module term_name: (regular_identifier) @variable) (type_signature term_name: (regular_identifier) @variable) (term_type) @type (term_definition name: (path) @namespace) (term_definition name: (regular_identifier) @variable) (term_definition param: (regular_identifier) @variable.parameter) ;; Punctuation [ (type_signature_colon) ":" ] @punctuation.delimiter [ "(" ")" "{" "}" "[" "]" ] @punctuation.bracket (watch_expression) @keyword.directive (test_watch_expression) @keyword.directive