Make 'method' keyword more specific
This commit is contained in:
parent
065ad5f760
commit
acb5765591
|
@ -26,6 +26,10 @@
|
|||
"new"
|
||||
] @keyword.constructor
|
||||
|
||||
[
|
||||
"method"
|
||||
] @keyword.method
|
||||
|
||||
[
|
||||
"array"
|
||||
(break_expression)
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
var a := 12
|
||||
|
||||
method meth() : int = self.a
|
||||
/* <- keyword */
|
||||
/* <- keyword.method */
|
||||
/* ^ method */
|
||||
/* ^ variable */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue