2021-06-01 23:44:03 +04:00
|
|
|
(variable) @variable
|
|
|
|
(operator) @operator
|
|
|
|
(exp_name (constructor) @constructor)
|
|
|
|
(constructor_operator) @operator
|
2021-09-06 09:33:02 +04:00
|
|
|
(module) @namespace
|
2021-06-01 23:44:03 +04:00
|
|
|
(type) @type
|
|
|
|
(type) @class
|
|
|
|
(constructor) @constructor
|
|
|
|
(pragma) @pragma
|
|
|
|
(comment) @comment
|
|
|
|
(signature name: (variable) @fun_type_name)
|
2021-09-06 09:33:02 +04:00
|
|
|
(function name: (variable) @function)
|
2021-06-01 23:44:03 +04:00
|
|
|
(constraint class: (class_name (type)) @class)
|
|
|
|
(class (class_head class: (class_name (type)) @class))
|
|
|
|
(instance (instance_head class: (class_name (type)) @class))
|
2021-11-03 07:00:52 +04:00
|
|
|
(integer) @constant.numeric.integer
|
|
|
|
(exp_literal (float)) @constant.numeric.float
|
|
|
|
(char) @constant.character
|
2021-06-01 23:44:03 +04:00
|
|
|
(con_unit) @literal
|
|
|
|
(con_list) @literal
|
|
|
|
(tycon_arrow) @operator
|
|
|
|
(where) @keyword
|
|
|
|
"module" @keyword
|
|
|
|
"let" @keyword
|
|
|
|
"in" @keyword
|
|
|
|
"class" @keyword
|
|
|
|
"instance" @keyword
|
|
|
|
"data" @keyword
|
|
|
|
"newtype" @keyword
|
|
|
|
"family" @keyword
|
|
|
|
"type" @keyword
|
|
|
|
"import" @keyword
|
|
|
|
"qualified" @keyword
|
|
|
|
"as" @keyword
|
|
|
|
"deriving" @keyword
|
|
|
|
"via" @keyword
|
|
|
|
"stock" @keyword
|
|
|
|
"anyclass" @keyword
|
|
|
|
"do" @keyword
|
|
|
|
"mdo" @keyword
|
|
|
|
"rec" @keyword
|
2021-09-06 09:33:02 +04:00
|
|
|
[
|
|
|
|
"("
|
|
|
|
")"
|
|
|
|
] @punctuation.bracket
|