diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-12-05 09:59:04 +0100 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-12-06 18:10:39 +0100 |
| commit | d2350758b39dce3593ffa8b058f863ea4cfa5b0e (patch) | |
| tree | dbd8591ffc0c59d7993fc91924b5ab42d58ae076 /tests | |
| parent | feat(fortran)!: update parser and queries (diff) | |
| download | nvim-treesitter-d2350758b39dce3593ffa8b058f863ea4cfa5b0e.tar nvim-treesitter-d2350758b39dce3593ffa8b058f863ea4cfa5b0e.tar.gz nvim-treesitter-d2350758b39dce3593ffa8b058f863ea4cfa5b0e.tar.bz2 nvim-treesitter-d2350758b39dce3593ffa8b058f863ea4cfa5b0e.tar.lz nvim-treesitter-d2350758b39dce3593ffa8b058f863ea4cfa5b0e.tar.xz nvim-treesitter-d2350758b39dce3593ffa8b058f863ea4cfa5b0e.tar.zst nvim-treesitter-d2350758b39dce3593ffa8b058f863ea4cfa5b0e.zip | |
feat(parsers)!: remove gitlab-hosted blueprint, fusion, jsonc
Problem: Gitlab has too frequent outages, which break automation.
Solution: Drop all Gitlab-hosted parsers (two of which have been
unmaintained for years).
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/query/highlights/fusion/afx.fusion | 17 | ||||
| -rw-r--r-- | tests/query/highlights/fusion/basic.fusion | 60 | ||||
| -rw-r--r-- | tests/query/highlights/fusion/expressions.fusion | 82 |
3 files changed, 0 insertions, 159 deletions
diff --git a/tests/query/highlights/fusion/afx.fusion b/tests/query/highlights/fusion/afx.fusion deleted file mode 100644 index 4ccb8174f..000000000 --- a/tests/query/highlights/fusion/afx.fusion +++ /dev/null @@ -1,17 +0,0 @@ -property = afx` - <!-- some comment --> -<!-- ^@comment --> - - <div attribute="value">text</div> -<!-- ^@tag --> -<!-- ^@tag.attribute --> -<!-- ^@string --> -<!-- ^@punctuation.bracket --> -<!-- ^@tag --> - - <Namespace:Type {...spread} some={(a) => true} /> -<!-- ^@tag --> -<!-- ^@variable --> -<!-- ^@variable --> -<!-- ^@boolean --> -` diff --git a/tests/query/highlights/fusion/basic.fusion b/tests/query/highlights/fusion/basic.fusion deleted file mode 100644 index 5f3cc346a..000000000 --- a/tests/query/highlights/fusion/basic.fusion +++ /dev/null @@ -1,60 +0,0 @@ -include: SomeFile.fusion -//<- @keyword.import -// ^ @string.special.url - -namespace: ns = Neos.Fusion.Space -//<- @keyword.type -// ^ @module -// ^ @operator -// ^ @module - -prototype(MyType) < prototype(ns:SuperType) { -//<-keyword -// ^ @punctuation.bracket -// ^ @type -// ^ @punctuation.bracket -// ^ @operator -// ^ @module -// ^ @type - - deleteProp > - // ^ @operator - - string = 'value' - //<- @property - // ^ @operator - // ^ @string - - number = 10.2 - // ^ @number - - null = null - // ^ @constant.builtin - - boolean = true - // ^ @boolean - - property.inner = "value" - //<- @property - // ^ @property - - property.@meta = "value" - //<- @property - // ^ @attribute - - property.type = SomeType - //<- @property - // ^ @type - - property.aliasedType = ns:SomeType - //<- @property - // ^ @module - // ^ @type - - property.fullQualifiedType = SomeNamespace:SomeType - //<- @property - // ^ @module - // ^ @type - -} - diff --git a/tests/query/highlights/fusion/expressions.fusion b/tests/query/highlights/fusion/expressions.fusion deleted file mode 100644 index b1822dda8..000000000 --- a/tests/query/highlights/fusion/expressions.fusion +++ /dev/null @@ -1,82 +0,0 @@ -string = ${'foo'} -// ^string - -string = ${'foo \'bar\' baz'} -// ^string - -string = ${"foo"} -// ^string - -string = ${"foo ${test}"} -// ^string - -boolean = ${true} -// ^boolean - -number = ${1} -// ^number - -number = ${1.2} -// ^number - -propertyPath = ${property.path} -// ^variable -// ^variable - -thisorProps = ${this.path} -// ^variable.builtin -// ^variable - -thisorProps = ${props.path} -// ^variable.builtin -// ^variable - -array = ${[]} -// ^punctuation.bracket - -array = ${[true, 'string', 1, [true]]} -// ^punctuation.bracket -// ^boolean -// ^string -// ^number -// ^punctuation.bracket -// ^boolean - -object = ${{}} -// ^punctuation.bracket - -object = ${{first: 'value', second: true, third: [], fourth: object.path }} -// ^property -// ^string -// ^property -// ^boolean -// ^property -// ^punctuation.bracket -// ^property -// ^variable - -result = ${methodCall()} -// ^function - -result = ${Some.methodCall(param, param)} -// ^function -// ^variable -// ^variable - -arrowFunction = ${map(foo, (bar, buz) => bar * buz)} -// ^function -// ^variable -// ^variable - -logic = ${!foo && !(bar || baz) and not 'string'} -// ^operator -// ^operator -// ^operator -// ^operator -// ^operator - -ternary = ${ check ? true : false} -// ^@keyword.conditional.ternary -// ^@keyword.conditional.ternary - - |
