aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/fusion
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-12-24 12:52:21 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-01-19 16:58:37 +0100
commit10dd49958c96f86c8247c715bd20a6681afc1d8b (patch)
tree511849caff160e818f4dd08a6106137dcadb620d /tests/query/highlights/fusion
parentfeat(injections): add printf format strings (diff)
downloadnvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar
nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.gz
nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.bz2
nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.lz
nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.xz
nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.tar.zst
nvim-treesitter-10dd49958c96f86c8247c715bd20a6681afc1d8b.zip
chore(tests): consistent captures
Diffstat (limited to 'tests/query/highlights/fusion')
-rw-r--r--tests/query/highlights/fusion/basic.fusion62
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/query/highlights/fusion/basic.fusion b/tests/query/highlights/fusion/basic.fusion
index e4c4d6afc..e63c86eea 100644
--- a/tests/query/highlights/fusion/basic.fusion
+++ b/tests/query/highlights/fusion/basic.fusion
@@ -1,60 +1,60 @@
include: SomeFile.fusion
-//<- include
-// ^text.uri
+//<- @include
+// ^ @text.uri
namespace: ns = Neos.Fusion.Space
-//<- keyword
-// ^namespace
-// ^operator
-// ^namespace
+//<- @keyword
+// ^ @namespace
+// ^ @operator
+// ^ @namespace
prototype(MyType) < prototype(ns:SuperType) {
//<-keyword
-// ^punctuation.bracket
-// ^type
-// ^punctuation.bracket
-// ^operator
-// ^namespace
-// ^type
+// ^ @punctuation.bracket
+// ^ @type
+// ^ @punctuation.bracket
+// ^ @operator
+// ^ @namespace
+// ^ @type
deleteProp >
- // ^operator
+ // ^ @operator
string = 'value'
- //<- property
- // ^operator
- // ^string
+ //<- @property
+ // ^ @operator
+ // ^ @string
number = 10.2
- // ^number
+ // ^ @number
null = null
- // ^constant.builtin
+ // ^ @constant.builtin
boolean = true
- // ^boolean
+ // ^ @boolean
property.inner = "value"
- //<- property
- // ^property
+ //<- @property
+ // ^ @property
property.@meta = "value"
- //<- property
- // ^attribute
+ //<- @property
+ // ^ @attribute
property.type = SomeType
- //<- property
- // ^type
+ //<- @property
+ // ^ @type
property.aliasedType = ns:SomeType
- //<- property
- // ^namespace
- // ^type
+ //<- @property
+ // ^ @namespace
+ // ^ @type
property.fullQualifiedType = SomeNamespace:SomeType
- //<- property
- // ^namespace
- // ^type
+ //<- @property
+ // ^ @namespace
+ // ^ @type
}