diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-08-07 22:17:29 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-08-07 22:17:29 +0200 |
| commit | f4ffb5c45b7b2dcdbb057b82e8d7545623fa2401 (patch) | |
| tree | c302b80f109613397b69d171888c73e2fb4a4b3d | |
| parent | ee518dc59a5adcc47fa5e56b39da8d347276d1bb (diff) | |
| download | vis-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
| -rw-r--r-- | text-objects.c | 2 |
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: |
