Mercurial > vim
diff src/search.c @ 15034:6e4e0d43b20b v8.1.0528
patch 8.1.0528: various typos in comments
commit https://github.com/vim/vim/commit/c4568ab37edc01e01f258d64bceddcd01633a268
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 16 16:21:05 2018 +0100
patch 8.1.0528: various typos in comments
Problem: Various typos in comments.
Solution: Fix the typos.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 16 Nov 2018 16:30:07 +0100 |
parents | 27b9a84395b5 |
children | 70aa5caa9f0d |
line wrap: on
line diff
--- 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)