Make 'method' keyword more specific

This commit is contained in:
Bruno BELANYI 2022-06-04 21:35:31 +02:00
parent 065ad5f760
commit acb5765591
2 changed files with 5 additions and 1 deletions

View file

@ -26,6 +26,10 @@
"new"
] @keyword.constructor
[
"method"
] @keyword.method
[
"array"
(break_expression)

View file

@ -12,7 +12,7 @@ let
var a := 12
method meth() : int = self.a
/* <- keyword */
/* <- keyword.method */
/* ^ method */
/* ^ variable */
}