aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'text-objects.h')
-rw-r--r--text-objects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/text-objects.h b/text-objects.h
index fb35d13..1ff728a 100644
--- a/text-objects.h
+++ b/text-objects.h
@@ -29,6 +29,10 @@ Filerange text_object_line(Text*, size_t pos);
Filerange text_object_sentence(Text*, size_t pos);
Filerange text_object_paragraph(Text*, size_t pos);
+/* C like function definition */
+Filerange text_object_function(Text*, size_t pos);
+/* inner variant only contains the function body */
+Filerange text_object_function_inner(Text*, size_t pos);
/* these are inner text objects i.e. the delimiters themself are not
* included in the range */
Filerange text_object_square_bracket(Text*, size_t pos);