mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
feat(fusion): update tests
This commit is contained in:
parent
5684389a27
commit
f51aa0b75e
2 changed files with 11 additions and 8 deletions
|
|
@ -23,8 +23,9 @@
|
||||||
|
|
||||||
)
|
)
|
||||||
(include_statement
|
(include_statement
|
||||||
"include" @include
|
[
|
||||||
":" @punctuation.delimiter
|
"include"
|
||||||
|
] @include
|
||||||
(source_file) @text.uri
|
(source_file) @text.uri
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -32,14 +33,14 @@
|
||||||
"namespace" @keyword
|
"namespace" @keyword
|
||||||
(alias_namespace) @namespace)
|
(alias_namespace) @namespace)
|
||||||
|
|
||||||
(identifier_type
|
(type
|
||||||
name: (type_name) @type)
|
name: (type_name) @type)
|
||||||
|
|
||||||
; tokens
|
; tokens
|
||||||
; ------
|
; ------
|
||||||
|
|
||||||
[
|
[
|
||||||
(identifier_package)
|
(package_name)
|
||||||
(alias_namespace)
|
(alias_namespace)
|
||||||
] @namespace
|
] @namespace
|
||||||
|
|
||||||
|
|
@ -83,3 +84,5 @@
|
||||||
"."
|
"."
|
||||||
"?"
|
"?"
|
||||||
] @punctuation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ include: SomeFile.fusion
|
||||||
// ^punctuation.delimiter
|
// ^punctuation.delimiter
|
||||||
// ^text.uri
|
// ^text.uri
|
||||||
|
|
||||||
namespace ns = Neos.Fusion.Space
|
namespace: ns = Neos.Fusion.Space
|
||||||
//<- keyword
|
//<- keyword
|
||||||
// ^namespace
|
// ^namespace
|
||||||
// ^operator
|
// ^operator
|
||||||
// ^namespace
|
// ^namespace
|
||||||
|
|
||||||
prototype(MyType) < prototype(ns:SuperType) {
|
prototype(MyType) < prototype(ns:SuperType) {
|
||||||
//<-keyword
|
//<-keyword
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue