aboutsummaryrefslogtreecommitdiff
path: root/text-objects.c
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2016-04-11 16:15:40 -0700
committerSteven Noonan <steven@uplinklabs.net>2016-04-11 17:04:53 -0700
commit4b4529f3cb885ad6427b0c5173c4054b844c6202 (patch)
treeb45293cef0127052bb26796a9c66a71e02d35eab /text-objects.c
parent65e65766db38424af343fe55b46137c825cf277f (diff)
downloadvis-4b4529f3cb885ad6427b0c5173c4054b844c6202.tar.gz
vis-4b4529f3cb885ad6427b0c5173c4054b844c6202.tar.xz
text-motions: fix misspelled function name "is_word_boundry"
Should be "is_word_boundary" Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'text-objects.c')
-rw-r--r--text-objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-objects.c b/text-objects.c
index 82fa36f..d7e806f 100644
--- a/text-objects.c
+++ b/text-objects.c
@@ -66,7 +66,7 @@ static Filerange text_object_customword(Text *txt, size_t pos, int (*isboundary)
}
Filerange text_object_word(Text *txt, size_t pos) {
- return text_object_customword(txt, pos, is_word_boundry);
+ return text_object_customword(txt, pos, is_word_boundary);
}
Filerange text_object_longword(Text *txt, size_t pos) {
@@ -117,7 +117,7 @@ Filerange text_object_longword_outer(Text *txt, size_t pos) {
}
Filerange text_object_word_outer(Text *txt, size_t pos) {
- return text_object_customword_outer(txt, pos, is_word_boundry);
+ return text_object_customword_outer(txt, pos, is_word_boundary);
}
Filerange text_object_word_find_next(Text *txt, size_t pos, const char *word) {