aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
authorNick Hanley <nicholasjhanley@gmail.com>2022-11-16 13:28:50 -0500
committerFelix Van der Jeugt <felix.vanderjeugt@posteo.net>2022-11-29 22:09:43 +0100
commitde8e3bb7b6fedc0554cee20834001dd4a739cd88 (patch)
treeae49efb024ab687e7af52149b42df7be1d31192c /text-objects.h
parent8a420ecc4c1ed50111464ec66901bd983eaf2dbd (diff)
downloadvis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.gz
vis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.xz
fix miscellaneous spelling mistakes
Diffstat (limited to 'text-objects.h')
-rw-r--r--text-objects.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-objects.h b/text-objects.h
index c2aef13..3fb829e 100644
--- a/text-objects.h
+++ b/text-objects.h
@@ -16,10 +16,10 @@ Filerange text_object_word(Text*, size_t pos);
/* includes trailing white spaces. If at pos happens to be a white space
* include all neighbouring leading white spaces and the following word. */
Filerange text_object_word_outer(Text*, size_t pos);
-/* find next occurence of `word' (as word not substring) in forward/backward direction */
+/* find next occurrence of `word' (as word not substring) in forward/backward direction */
Filerange text_object_word_find_next(Text*, size_t pos, const char *word);
Filerange text_object_word_find_prev(Text*, size_t pos, const char *word);
-/* find next occurence of a literal string (not regex) in forward/backward direction */
+/* find next occurrence of a literal string (not regex) in forward/backward direction */
Filerange text_object_find_next(Text *txt, size_t pos, const char *search);
Filerange text_object_find_prev(Text *txt, size_t pos, const char *search);
/* same semantics as above but for a longword (i.e. delimited by white spaces) */