summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-11-16 16:21:05 +0100
committerBram Moolenaar <Bram@vim.org>2018-11-16 16:21:05 +0100
commitc4568ab37edc01e01f258d64bceddcd01633a268 (patch)
tree8ae92c661dad3bde1055513daa15ce703d3632f7 /src/search.c
parentf0d58efc9dc46be37c629cbc99b4125448ca39fd (diff)
downloadvim-git-c4568ab37edc01e01f258d64bceddcd01633a268.tar.gz
patch 8.1.0528: various typos in commentsv8.1.0528
Problem: Various typos in comments. Solution: Fix the typos.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/search.c b/src/search.c
index dff532d8f..98665f795 100644
--- a/src/search.c
+++ b/src/search.c
@@ -357,9 +357,9 @@ free_search_patterns(void)
* Save and restore the search pattern for incremental highlight search
* feature.
*
- * It's similar but differnt from save_search_patterns() and
+ * It's similar to but different from save_search_patterns() and
* restore_search_patterns(), because the search pattern must be restored when
- * cannceling incremental searching even if it's called inside user functions.
+ * canceling incremental searching even if it's called inside user functions.
*/
void
save_last_search_pattern(void)
@@ -2869,7 +2869,7 @@ findpar(
}
#endif
- /* POSIX has it's own ideas of what a paragraph boundary is and it
+ /* POSIX has its own ideas of what a paragraph boundary is and it
* doesn't match historical Vi: It also stops at a "{" in the
* first column and at an empty line. */
if (!first && did_skip && (startPS(curr, what, both)