1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-26 14:20:04 +08:00
SpaceVim/bundle/nvim-treesitter/tests/query/highlights/fusion/basic.fusion
2022-04-14 12:01:23 +08:00

61 lines
1.1 KiB
Plaintext
Vendored

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
}