Mercurial > vim
comparison src/userfunc.c @ 26771:fc859aea8cec v8.2.3914
patch 8.2.3914: various spelling mistakes in comments
Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Dec 27 17:21:41 2021 +0000
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 18:30:05 +0100 |
parents | 3a2b222107a6 |
children | 83b35c75c21a |
comparison
equal
deleted
inserted
replaced
26770:15ff3f2e0d58 | 26771:fc859aea8cec |
---|---|
1033 if (ga_grow(newlines, 1 + sourcing_lnum_off) == FAIL) | 1033 if (ga_grow(newlines, 1 + sourcing_lnum_off) == FAIL) |
1034 goto theend; | 1034 goto theend; |
1035 | 1035 |
1036 if (heredoc_concat_len > 0) | 1036 if (heredoc_concat_len > 0) |
1037 { | 1037 { |
1038 // For a :def function "python << EOF" concatenats all the lines, | 1038 // For a :def function "python << EOF" concatenates all the lines, |
1039 // to be used for the instruction later. | 1039 // to be used for the instruction later. |
1040 ga_concat(&heredoc_ga, theline); | 1040 ga_concat(&heredoc_ga, theline); |
1041 ga_concat(&heredoc_ga, (char_u *)"\n"); | 1041 ga_concat(&heredoc_ga, (char_u *)"\n"); |
1042 p = vim_strsave((char_u *)""); | 1042 p = vim_strsave((char_u *)""); |
1043 } | 1043 } |