1
0
mirror of https://github.com/helix-editor/helix synced 2026-01-26 05:38:09 +01:00
helix/runtime/queries/luau/locals.scm
Grey e773d6cc92
feat: add luau grammars and lsp (#13702)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-06-08 15:21:08 -04:00

26 lines
351 B
Scheme

[
(block)
(fn_stmt)
(local_fn_stmt)
(anon_fn)
(for_range_stmt)
(for_in_stmt)
] @local.scope
(_
parameter_name: (name) @local.definition.variable.parameter
)
(binding
variable_name: (name) @local.definition.variable
)
(var
variable_name: (name) @local.reference
)
; (call_stmt
; .
; method_table: (name) @local.reference
; )