aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--text-motions.c2
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) {