File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77(variable) @variable
88(atom) @string.special.symbol
99((atom) @constant.builtin.boolean
10- (#match ? @constant.builtin.boolean "^( true| false)$ "))
10+ (#any-of ? @constant.builtin.boolean "true" " false"))
1111[(string) (sigil)] @string
1212(character) @constant.character
1313(escape_sequence) @constant.character.escape
121121 (stab_clause
122122 pattern: (arguments (variable)? @variable.parameter )
123123 body: (variable)? @variable.parameter ))
124- (#match ? @keyword "( spec| callback) "))
124+ (#any-of ? @keyword "spec" " callback"))
125125; functions
126126(function_clause pattern: (arguments (variable) @variable.parameter ))
127127; anonymous functions
133133 (binary_operator
134134 left: (call (arguments (variable) @variable.parameter ))
135135 operator: "::")))
136- (#match ? @keyword "( type| opaque) "))
136+ (#any-of ? @keyword "type" " opaque" "nominal "))
137137; macros
138138((attribute
139139 name: (atom) @keyword
Original file line number Diff line number Diff line change 77
88; parametric `-type`s
99((attribute
10- name: (atom) @_type
10+ name: (atom) @keyword
1111 (arguments
1212 (binary_operator
1313 left: (call (arguments (variable) @local.definition.variable.parameter ))
1414 operator: "::") @local.scope ))
15- (#match ? @_type "( type| opaque) "))
15+ (#any-of ? @keyword " type" " opaque" "nominal "))
1616
1717; `fun`s
1818(anonymous_function (stab_clause pattern: (arguments (variable) @local.definition.variable.parameter ))) @local.scope
You can’t perform that action at this time.
0 commit comments