32 lines
490 B
Scheme
32 lines
490 B
Scheme
; Scopes
|
|
[
|
|
(source_file)
|
|
(field)
|
|
(for_clause)
|
|
] @local.scope
|
|
|
|
; References
|
|
(identifier) @local.reference
|
|
|
|
; Definitions
|
|
(import_spec
|
|
path: (string) @local.definition.import)
|
|
|
|
(field
|
|
(label
|
|
(identifier) @local.definition.field))
|
|
|
|
(package_identifier) @local.definition.namespace
|
|
|
|
(for_clause
|
|
(identifier) @local.definition.var
|
|
(expression))
|
|
|
|
(for_clause
|
|
(identifier)
|
|
(identifier) @local.definition.var
|
|
(expression))
|
|
|
|
(let_clause
|
|
(identifier) @local.definition.var)
|