add generics
This commit is contained in:
1 parent
79533e9537
commit
2204d58102
22 files changed
+47358
-37579
No files matched your search
@@ -6,18 +6,15 @@
|
||||
"continue"
|
||||
"distinct"
|
||||
"else"
|
||||
"err"
|
||||
"for"
|
||||
"if"
|
||||
"in"
|
||||
"loop"
|
||||
"match"
|
||||
"not"
|
||||
"ok"
|
||||
"or"
|
||||
"pub"
|
||||
"return"
|
||||
"some"
|
||||
"use"
|
||||
] @keyword
|
||||
|
||||
@@ -26,7 +23,6 @@
|
||||
(comment) @comment
|
||||
(default_expression) @keyword
|
||||
(boolean_literal) @constant.builtin
|
||||
(nil_literal) @constant.builtin
|
||||
(string_literal) @string
|
||||
(character_literal) @character
|
||||
(integer_literal) @number
|
||||
@@ -39,7 +35,12 @@
|
||||
(product_field name: (identifier) @property)
|
||||
(product_entry (identifier) @property)
|
||||
(sum_variant name: (identifier) @constructor)
|
||||
(sum_constructor variant: (identifier) @constructor)
|
||||
(sum_pattern variant: (identifier) @constructor)
|
||||
(bits_member (identifier) @constant)
|
||||
(constraint_entry name: (identifier) @function)
|
||||
(output_type function: (identifier) @function)
|
||||
(output_type function: (qualified_name (identifier) @function .))
|
||||
|
||||
[
|
||||
"=" "+=" "-=" "*=" "/=" "%=" "&=" "^=" "|="
|
||||
|
||||
Reference in new issue
Block a user