tree-sitter-tiger/queries/textobjects.scm

15 lines
267 B
Scheme
Raw Normal View History

2022-06-04 10:32:13 +02:00
; Functions {{{
(function_declaration
body: (_) @function.inner) @function.outer
(primitive_declaration) @function.outer
2022-06-04 10:32:35 +02:00
(function_call
arguments: ((_) @call.inner)*) @call.outer
2022-06-04 10:32:13 +02:00
; }}}
; Misc {{{
(comment) @comment.outer
; }}}
; vim: sw=2 foldmethod=marker