mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-24 10:26:18 +04:00
5766f5da8f
* added some stuff * add interface * indent * highlights and locals * scope * change some stuff * add indents * fix blanket highlight * macro * use inherits
25 lines
345 B
Scheme
25 lines
345 B
Scheme
; Scopes
|
|
;-------
|
|
|
|
[
|
|
(let_binding)
|
|
(class_binding)
|
|
(class_function)
|
|
(method_definition)
|
|
(fun_expression)
|
|
(object_expression)
|
|
(for_expression)
|
|
(match_case)
|
|
(attribute_payload)
|
|
] @local.scope
|
|
|
|
; Definitions
|
|
;------------
|
|
|
|
(value_pattern) @local.definition
|
|
|
|
; References
|
|
;-----------
|
|
|
|
(value_path . (value_name) @local.reference)
|