From 6b5b37cc3ee2468beef1289980102fc3c4e06e2c Mon Sep 17 00:00:00 2001 From: jirgn Date: Thu, 23 Dec 2021 17:18:15 +0100 Subject: update fusion to version 1.1.1 (#2148) * feat(fusion): update tests * fix(fusion): update lockfile * fix(fusion): update to (highlight breaking) version 1.1.0 * update grammer to introduce afx support * update tests and queries * fix: revert lockfile update of unrelated grammars * fix: update to 1.1.1 and fix hightlights * fix: use @tag.attribute capture to match specs Co-authored-by: Jirgn --- tests/query/highlights/fusion/afx.fusion | 17 +++++++++++++++++ tests/query/highlights/fusion/basic.fusion | 1 - tests/query/highlights/fusion/expressions.fusion | 8 ++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 tests/query/highlights/fusion/afx.fusion (limited to 'tests/query') diff --git a/tests/query/highlights/fusion/afx.fusion b/tests/query/highlights/fusion/afx.fusion new file mode 100644 index 000000000..4ccb8174f --- /dev/null +++ b/tests/query/highlights/fusion/afx.fusion @@ -0,0 +1,17 @@ +property = afx` + + + +
text
+ + + + + + + true} /> + + + + +` diff --git a/tests/query/highlights/fusion/basic.fusion b/tests/query/highlights/fusion/basic.fusion index d2ee5a5b9..e4c4d6afc 100644 --- a/tests/query/highlights/fusion/basic.fusion +++ b/tests/query/highlights/fusion/basic.fusion @@ -1,6 +1,5 @@ include: SomeFile.fusion //<- include -// ^punctuation.delimiter // ^text.uri namespace: ns = Neos.Fusion.Space diff --git a/tests/query/highlights/fusion/expressions.fusion b/tests/query/highlights/fusion/expressions.fusion index 6646eadac..a0b82b511 100644 --- a/tests/query/highlights/fusion/expressions.fusion +++ b/tests/query/highlights/fusion/expressions.fusion @@ -23,6 +23,14 @@ propertyPath = ${property.path} // ^variable // ^variable +thisorProps = ${this.path} +// ^variable.builtin +// ^variable + +thisorProps = ${props.path} +// ^variable.builtin +// ^variable + array = ${[]} // ^punctuation.bracket -- cgit v1.2.3-70-g09d2