From a87126399638283c880c60a3d3ed349d2e73e32f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 4 Jun 2022 10:32:13 +0200 Subject: [PATCH] Add function text objects --- queries/textobjects.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/queries/textobjects.scm b/queries/textobjects.scm index f0e8599..58e2a93 100644 --- a/queries/textobjects.scm +++ b/queries/textobjects.scm @@ -1,3 +1,9 @@ +; Functions {{{ + (function_declaration + body: (_) @function.inner) @function.outer + (primitive_declaration) @function.outer +; }}} + ; Misc {{{ (comment) @comment.outer ; }}}