mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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" @include
|
||||
":" @punctuation.delimiter
|
||||
[
|
||||
"include"
|
||||
] @include
|
||||
(source_file) @text.uri
|
||||
)
|
||||
|
||||
|
|
@ -32,14 +33,14 @@
|
|||
"namespace" @keyword
|
||||
(alias_namespace) @namespace)
|
||||
|
||||
(identifier_type
|
||||
(type
|
||||
name: (type_name) @type)
|
||||
|
||||
; tokens
|
||||
; ------
|
||||
|
||||
[
|
||||
(identifier_package)
|
||||
(package_name)
|
||||
(alias_namespace)
|
||||
] @namespace
|
||||
|
||||
|
|
@ -83,3 +84,5 @@
|
|||
"."
|
||||
"?"
|
||||
] @punctuation.delimiter
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ include: SomeFile.fusion
|
|||
// ^punctuation.delimiter
|
||||
// ^text.uri
|
||||
|
||||
namespace ns = Neos.Fusion.Space
|
||||
namespace: ns = Neos.Fusion.Space
|
||||
//<- keyword
|
||||
// ^namespace
|
||||
// ^operator
|
||||
// ^namespace
|
||||
// ^namespace
|
||||
// ^operator
|
||||
// ^namespace
|
||||
|
||||
prototype(MyType) < prototype(ns:SuperType) {
|
||||
//<-keyword
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue