mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
chore(tests): consistent captures
This commit is contained in:
parent
17fae3f4a3
commit
10dd49958c
60 changed files with 872 additions and 873 deletions
|
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue