aboutsummaryrefslogtreecommitdiff
path: root/text-objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'text-objects.c')
-rw-r--r--text-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-objects.c b/text-objects.c
index b39d13c..f4fcb4a 100644
--- a/text-objects.c
+++ b/text-objects.c
@@ -230,7 +230,7 @@ static Filerange text_object_bracket(Text *txt, size_t pos, char type) {
Iterator it = text_iterator_get(txt, pos);
if (open == close && text_iterator_byte_get(&it, &c) && (c == '"' || c == '`' || c == '\'')) {
- size_t match = text_bracket_match(txt, pos);
+ size_t match = text_bracket_match(txt, pos, NULL);
r.start = MIN(pos, match) + 1;
r.end = MAX(pos, match);
return r;