@@ -65,6 +65,37 @@
65(function_capture module: (atom) @namespace)
65(function_capture module: (atom) @namespace)
66(function_capture function: (atom) @function)
66(function_capture function: (atom) @function)
69+((variable) @comment.discard
70+ (#match? @comment.discard "^_"))
75+ name: (atom) @keyword
77+ pattern: (arguments (variable) @variable.parameter)
78+ body: (variable)? @variable.parameter))
79+ (#match? @keyword "(spec|callback)"))
81+(function_clause pattern: (arguments (variable) @variable.parameter))
83+(stab_clause pattern: (arguments (variable) @variable.parameter))
86+ name: (atom) @keyword
89+ left: (call (arguments (variable) @variable.parameter))
91+ (#match? @keyword "(type|opaque)"))
94+ name: (atom) @keyword
96+ (call (arguments (variable) @variable.parameter))))
97+ (#eq? @keyword "define"))
69(record_content
100(record_content
70 (binary_operator
101 (binary_operator
@@ -105,9 +136,6 @@
105 name: (_) @keyword.directive)
136 name: (_) @keyword.directive)
107; Comments
138; Comments
108−((variable) @comment.discard
109− (#match? @comment.discard "^_"))
111(tripledot) @comment.discard
139(tripledot) @comment.discard
113[(comment) (line_comment) (shebang)] @comment
141[(comment) (line_comment) (shebang)] @comment