diff options
| -rw-r--r-- | queries/highlights.scm | 2 | ||||
| -rw-r--r-- | test/highlight/notation.api | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/queries/highlights.scm b/queries/highlights.scm index cf92992..8199a2b 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -1,4 +1,4 @@ -(type_annotation) @type +(type_annotation) @punctuation (member_type) @operator (member) @property (parameter_list) @function diff --git a/test/highlight/notation.api b/test/highlight/notation.api index f0a9a7a..f801360 100644 --- a/test/highlight/notation.api +++ b/test/highlight/notation.api @@ -5,11 +5,11 @@ Forum.Models.Post +glyphs <Array<String>> //<- operator //^ property - // ^ type + // ^ punctuation // ^ type.definition - // ^ type + // ^ punctuation // ^ type.definition - // ^ type + // ^ punctuation -id <UUID> -created_at <Date> @@ -21,9 +21,9 @@ Forum.Models.Post //^ property // ^ function // ^ variable.parameter - // ^ type + // ^ punctuation // ^ type.definition - // ^ type + // ^ punctuation // ^ function ->authorUpdated(author <Author>) <~textWillUpdate(text <String>) @@ -35,9 +35,9 @@ Forum.Models.Post //^ property // ^ function // ^ variable.parameter - // ^ type + // ^ punctuation // ^ type.definition - // ^ type + // ^ punctuation // ^ function // ^ operator // ^ type.definition @@ -50,5 +50,5 @@ Forum.Models.Post //^ property // ^ function // ^ variable.parameter.optional - // ^ type + // ^ punctuation // ^ type.definition |