diff options
| author | Matthias Braun <matze@braunis.de> | 2015-01-03 16:38:17 -0800 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-01-05 14:19:06 +0100 |
| commit | 4e75766e915d78cb47008aae805807a2ad038935 (patch) | |
| tree | 2bf17acdbeb61e05905c70bedcdd9ae0f8efee21 | |
| parent | 6df5538a248185d097626f7d756ded13a7447186 (diff) | |
| download | vis-4e75766e915d78cb47008aae805807a2ad038935.tar.gz vis-4e75766e915d78cb47008aae805807a2ad038935.tar.xz | |
define underscores to be part of a word
| -rw-r--r-- | text-motions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text-motions.c b/text-motions.c index 8462fff..3a970e8 100644 --- a/text-motions.c +++ b/text-motions.c @@ -22,7 +22,7 @@ int is_word_boundry(int c) { return ISASCII(c) && !(('0' <= c && c <= '9') || ('a' <= c && c <= 'z') || - ('A' <= c && c <= 'Z')); + ('A' <= c && c <= 'Z') || c == '_'); } size_t text_begin(Text *txt, size_t pos) { |
