mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
* 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 <jirgn76@googlemail.com>
60 lines
1.1 KiB
Text
60 lines
1.1 KiB
Text
include: SomeFile.fusion
|
|
//<- include
|
|
// ^text.uri
|
|
|
|
namespace: ns = Neos.Fusion.Space
|
|
//<- keyword
|
|
// ^namespace
|
|
// ^operator
|
|
// ^namespace
|
|
|
|
prototype(MyType) < prototype(ns:SuperType) {
|
|
//<-keyword
|
|
// ^punctuation.bracket
|
|
// ^type
|
|
// ^punctuation.bracket
|
|
// ^operator
|
|
// ^namespace
|
|
// ^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
|
|
// ^namespace
|
|
// ^type
|
|
|
|
property.fullQualifiedType = SomeNamespace:SomeType
|
|
//<- property
|
|
// ^namespace
|
|
// ^type
|
|
|
|
}
|
|
|