helix-editor/runtime/queries/wesl/textobjects.scm
Weihnachtsbaum e9a3dcd858
Add WESL language (#13267)
Co-authored-by: uncenter <uncenter@uncenter.dev>
2025-04-06 12:23:34 -05:00

24 lines
496 B
Scheme

(function_decl
body: (_) @function.inside) @function.around
(struct_decl
body: (_) @class.inside) @class.around
(param_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(argument_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(template_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
[
(line_comment)
(block_comment)
] @comment.inside
(line_comment)+ @comment.around
(block_comment) @comment.around