From f4ffb5c45b7b2dcdbb057b82e8d7545623fa2401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 7 Aug 2016 22:17:29 +0200 Subject: text-object: add ` as a delimiter for file name text objects In general it might be a better idea to specify these kinds of text objects in terms of characters belonging to them rather than listing a set of delimiting characters. Fixes #350 --- text-objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-objects.c') diff --git a/text-objects.c b/text-objects.c index d7e806f..69dbb46 100644 --- a/text-objects.c +++ b/text-objects.c @@ -324,7 +324,7 @@ Filerange text_object_number(Text *txt, size_t pos) { static int is_filename_boundary(int c) { switch (c) { case ';': case ':': case '|': - case '"': case '\'': + case '"': case '\'': case '`': case '<': case '>': return true; default: -- cgit v1.2.3