]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blobdiff - test/highlight/notation.api
Test more specific highlighting
[rbdr/tree-sitter-api-notation] / test / highlight / notation.api
index f0a9a7a3f9c7cf8651070b4cc6f93a85ef76f163..aa7bc71ea7e91520bd30ffc60c9092aac622aa6c 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>
@@ -20,10 +20,10 @@ Forum.Models.Post
   //<- operator
   //^ property
   //           ^ function
-  //            ^ variable.parameter
-  //                 ^ type
+  //            ^ parameter
+  //                 ^ punctuation
   //                  ^ type.definition
-  //                        ^ type
+  //                        ^ punctuation
   //                         ^ function
   ->authorUpdated(author <Author>)
   <~textWillUpdate(text <String>)
@@ -34,10 +34,10 @@ Forum.Models.Post
   //<- operator
   //^ property
   //      ^ function
-  //       ^ variable.parameter
-  //                 ^ type
+  //       ^ parameter
+  //                 ^ punctuation
   //                  ^ type.definition
-  //                      ^ type
+  //                      ^ punctuation
   //                       ^ function
   //                         ^ operator
   //                            ^ type.definition
@@ -49,6 +49,6 @@ Forum.Models.Post
   //<- operator
   //^ property
   //        ^ function
-  //          ^ variable.parameter.optional
-  //                       ^ type
+  //          ^ parameter.optional
+  //                       ^ punctuation
   //                        ^ type.definition