1
0
mirror of https://github.com/helix-editor/helix synced 2026-01-26 05:38:09 +01:00
helix/runtime/queries/crystal/textobjects.scm
Margret Riegert c96642125f
Update Crystal tree sitter and add support for ameba-ls (#13805)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-06-21 12:02:16 -05:00

39 lines
614 B
Scheme

(class_def
name: (_)
(_) @class.inside) @class.around
(struct_def
name: (_)
(_) @class.inside) @class.around
(module_def
name: (_)
(_) @class.inside) @class.around
(lib_def
name: (_)
(_) @class.inside) @class.around
(enum_def
name: (_)
(_) @class.inside) @class.around
(block
params: (_) @parameter.inside) @parameter.around
(method_def
params: (_) @parameter.inside) @parameter.around
(method_def
name: (_)
(_) @function.inside) @function.around
(block
(_) @function.inside) @function.around
(comment) @comment.inside
(comment)+ @comment.around
(array
(_) @entry.around)