]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blobdiff - test/highlight/notation.api
Make the type definition brackets punctuation
[rbdr/tree-sitter-api-notation] / test / highlight / notation.api
index f0a9a7a3f9c7cf8651070b4cc6f93a85ef76f163..f801360b659d65a55c620d784c40dd06ebf51f9f 100644 (file)
@@ -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