|
|
@ -2,19 +2,19 @@
|
|
|
|
(operator) @operator
|
|
|
|
(operator) @operator
|
|
|
|
(exp_name (constructor) @constructor)
|
|
|
|
(exp_name (constructor) @constructor)
|
|
|
|
(constructor_operator) @operator
|
|
|
|
(constructor_operator) @operator
|
|
|
|
(module) @module_name
|
|
|
|
(module) @namespace
|
|
|
|
(type) @type
|
|
|
|
(type) @type
|
|
|
|
(type) @class
|
|
|
|
(type) @class
|
|
|
|
(constructor) @constructor
|
|
|
|
(constructor) @constructor
|
|
|
|
(pragma) @pragma
|
|
|
|
(pragma) @pragma
|
|
|
|
(comment) @comment
|
|
|
|
(comment) @comment
|
|
|
|
(signature name: (variable) @fun_type_name)
|
|
|
|
(signature name: (variable) @fun_type_name)
|
|
|
|
(function name: (variable) @fun_name)
|
|
|
|
(function name: (variable) @function)
|
|
|
|
(constraint class: (class_name (type)) @class)
|
|
|
|
(constraint class: (class_name (type)) @class)
|
|
|
|
(class (class_head class: (class_name (type)) @class))
|
|
|
|
(class (class_head class: (class_name (type)) @class))
|
|
|
|
(instance (instance_head class: (class_name (type)) @class))
|
|
|
|
(instance (instance_head class: (class_name (type)) @class))
|
|
|
|
(integer) @literal
|
|
|
|
(integer) @number
|
|
|
|
(exp_literal (float)) @literal
|
|
|
|
(exp_literal (float)) @number
|
|
|
|
(char) @literal
|
|
|
|
(char) @literal
|
|
|
|
(con_unit) @literal
|
|
|
|
(con_unit) @literal
|
|
|
|
(con_list) @literal
|
|
|
|
(con_list) @literal
|
|
|
@ -39,5 +39,7 @@
|
|
|
|
"do" @keyword
|
|
|
|
"do" @keyword
|
|
|
|
"mdo" @keyword
|
|
|
|
"mdo" @keyword
|
|
|
|
"rec" @keyword
|
|
|
|
"rec" @keyword
|
|
|
|
"(" @paren
|
|
|
|
[
|
|
|
|
")" @paren
|
|
|
|
"("
|
|
|
|
|
|
|
|
")"
|
|
|
|
|
|
|
|
] @punctuation.bracket
|
|
|
|