comparison src/insexpand.c @ 18498:9e6d5a4abb1c v8.1.2243

patch 8.1.2243: typos in comments Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 2 22:54:41 2019 +0100 patch 8.1.2243: typos in comments Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust formatting a bit.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Nov 2019 23:00:06 +0100
parents 34d5cd432cac
children bbea1f108187
comparison
equal deleted inserted replaced
18497:14e9f08eec14 18498:9e6d5a4abb1c
1610 else 1610 else
1611 { 1611 {
1612 #ifdef FEAT_SPELL 1612 #ifdef FEAT_SPELL
1613 spell_bad_len = 0; // need to redetect bad word 1613 spell_bad_len = 0; // need to redetect bad word
1614 #endif 1614 #endif
1615 // Matches were cleared, need to search for them now. Befor drawing 1615 // Matches were cleared, need to search for them now. Before drawing
1616 // the popup menu display the changed text before the cursor. Set 1616 // the popup menu display the changed text before the cursor. Set
1617 // "compl_restarting" to avoid that the first match is inserted. 1617 // "compl_restarting" to avoid that the first match is inserted.
1618 pum_call_update_screen(); 1618 pum_call_update_screen();
1619 #ifdef FEAT_GUI 1619 #ifdef FEAT_GUI
1620 if (gui.in_use) 1620 if (gui.in_use)
2856 if (ins_buf->b_p_inf) 2856 if (ins_buf->b_p_inf)
2857 p_scs = FALSE; 2857 p_scs = FALSE;
2858 2858
2859 // Buffers other than curbuf are scanned from the beginning or the 2859 // Buffers other than curbuf are scanned from the beginning or the
2860 // end but never from the middle, thus setting nowrapscan in this 2860 // end but never from the middle, thus setting nowrapscan in this
2861 // buffers is a good idea, on the other hand, we always set 2861 // buffer is a good idea, on the other hand, we always set
2862 // wrapscan for curbuf to avoid missing matches -- Acevedo,Webb 2862 // wrapscan for curbuf to avoid missing matches -- Acevedo,Webb
2863 save_p_ws = p_ws; 2863 save_p_ws = p_ws;
2864 if (ins_buf != curbuf) 2864 if (ins_buf != curbuf)
2865 p_ws = FALSE; 2865 p_ws = FALSE;
2866 else if (*e_cpt == '.') 2866 else if (*e_cpt == '.')