aboutsummaryrefslogtreecommitdiff
path: root/text-objects.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-08-07 22:17:29 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-08-07 22:17:29 +0200
commitf4ffb5c45b7b2dcdbb057b82e8d7545623fa2401 (patch)
treec302b80f109613397b69d171888c73e2fb4a4b3d /text-objects.c
parentee518dc59a5adcc47fa5e56b39da8d347276d1bb (diff)
downloadvis-f4ffb5c45b7b2dcdbb057b82e8d7545623fa2401.tar.gz
vis-f4ffb5c45b7b2dcdbb057b82e8d7545623fa2401.tar.xz
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
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 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: