On 2020-01-25, Emir Sarı wrote: > ------------------------------------------------------------------------------- > > You can view, comment on, or merge this pull request online at: > > https://github.com/vim/vim/pull/5532 > > Commit Summary > > • Fix Typos
> Patch Links: > > • https://github.com/vim/vim/pull/5532.patch > • https://github.com/vim/vim/pull/5532.diff A few corrections to your corrections: > diff --git a/src/buffer.c b/src/buffer.c > index f56ff0b6259..28bbab4d115 100644 > --- a/src/buffer.c > +++ b/src/buffer.c > @@ -1690,7 +1690,7 @@ set_curbuf(buf_T *buf, int action) > set_bufref(&prevbufref, prevbuf); > set_bufref(&newbufref, buf); > > - // Autocommands may delete the curren buffer and/or the buffer we wan to > go > + // Autocommands may delete the curren buffer and/or the buffer we want > to go + // Autocommands may delete the current buffer and/or the buffer we want to go > // to. In those cases don't close the buffer. > if (!apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf) > || (bufref_valid(&prevbufref) > diff --git a/src/getchar.c b/src/getchar.c > index 72ddbb9ad3a..387938604a0 100644 > --- a/src/getchar.c > +++ b/src/getchar.c > @@ -3237,7 +3237,7 @@ vgetorpeek(int advance) > * 1. a scriptfile > * 2. the keyboard > * > - * As much characters as we can get (upto 'maxlen') are put in "buf" and > + * As much characters as we can get (up to 'maxlen') are put in "buf" and + * As many characters as we can get (up to 'maxlen') are put in "buf" and > * NUL terminated (buffer length must be 'maxlen' + 1). > * Minimum for "maxlen" is 3!!!! > * > diff --git a/src/gui.c b/src/gui.c > index 1249fab2209..6eb34b797e1 100644 > --- a/src/gui.c > +++ b/src/gui.c > @@ -3419,7 +3419,7 @@ gui_init_which_components(char_u *oldval UNUSED) > if (oldval != NULL && gui.in_use) > { > /* > - * Check if the menu's go from grey to non-grey or vise versa. > + * Check if the menu's go from grey to non-grey or vice versa. + * Check if the menus go from grey to non-grey or vice versa. > */ > grey_old = (vim_strchr(oldval, GO_GREY) != NULL); > grey_new = (vim_strchr(p_go, GO_GREY) != NULL); > diff --git a/src/gui_mac.c b/src/gui_mac.c > index 3dfb939e29d..0a4a35b1f01 100644 > --- a/src/gui_mac.c > +++ b/src/gui_mac.c > @@ -2919,7 +2919,7 @@ gui_mch_prepare(int *argc, char **argv) > > (void)FSGetCatalogInfo(&applFSRef, kFSCatInfoNone, NULL, NULL, &applDir, > NULL); > > - // This technic return NIL when we disallow_gui > + // This technique return NIL when we disallow_gui + // This technique returns NIL when we disallow_gui > # endif > exe_name = FullPathFromFSSpec_save(applDir); > #endif Regards, Gary -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20200125223731.GB23965%40phoenix.
