mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
23
runtime/queries/fusion/locals.scm
Normal file
23
runtime/queries/fusion/locals.scm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
; Fusion base
|
||||
(block) @local.scope
|
||||
|
||||
(namespace_declaration
|
||||
(alias_namespace) @local.definition.namespace)
|
||||
|
||||
(property
|
||||
(path
|
||||
(path_part) @local.definition.field))
|
||||
|
||||
(type
|
||||
namespace: (package_name)? @local.definition.namespace
|
||||
name: (type_name) @local.definition.type)
|
||||
|
||||
; Eel Expressions
|
||||
(eel_arrow_function) @local.scope
|
||||
|
||||
(eel_object) @local.scope
|
||||
|
||||
(eel_parameter) @local.definition.parameter
|
||||
|
||||
(eel_object_pair
|
||||
key: (eel_property_name) @local.definition.field)
|
||||
Loading…
Add table
Add a link
Reference in a new issue