summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-09-09 11:23:50 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-09 11:31:38 +0200
commitee17b6f70d382ec6c5d8d27b56c4e84106ac8c55 (patch)
tree1576168b662d7db6db23b175860a3a5f67c40a1f /src/insexpand.c
parent7bcd25cad3e9d5c9e25c7ae2bde67285c26f73cd (diff)
patch 9.0.1886: Various Typosv9.0.1886
Problem: Various Typos Solution: Fix Typos This is a collection of typo related commits. closes: #12753 closes: #13016 Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Viktor Szépe <viktor@szepe.net> Co-authored-by: nuid64 <lvkuzvesov@proton.me> Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com> Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index b767b4efdd..3b06ee02de 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -3789,7 +3789,7 @@ ins_compl_get_exp(pos_T *ini)
st.found_all = FALSE;
st.ins_buf = curbuf;
vim_free(st.e_cpt_copy);
- // Make a copy of 'complete', if case the buffer is wiped out.
+ // Make a copy of 'complete', in case the buffer is wiped out.
st.e_cpt_copy = vim_strsave((compl_cont_status & CONT_LOCAL)
? (char_u *)"." : curbuf->b_p_cpt);
st.e_cpt = st.e_cpt_copy == NULL ? (char_u *)"" : st.e_cpt_copy;