1
0
mirror of https://github.com/helix-editor/helix synced 2026-01-26 05:38:09 +01:00
helix/runtime/queries/luau/textobjects.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

19 lines
395 B
Scheme

(fn_stmt
body: (_)? @function.inside) @function.around
(local_fn_stmt
body: (_)? @function.inside) @function.around
(anon_fn
body: (_)? @function.inside) @function.around
(param
((name) @parameter.inside . ","? @parameter.around) @parameter.around)
(arglist
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside
(comment)+ @comment.around