diff src/edit.c @ 537:e321639cfa3e

updated for version 7.0152
author vimboss
date Fri, 30 Sep 2005 21:20:29 +0000
parents 7052f11a3dc9
children 2df7f3a5eb96
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -3515,6 +3515,7 @@ ins_complete(c)
 		compl_col = spell_word_start(startcol);
 	    if (compl_col >= (colnr_T)startcol)
 		return FAIL;
+	    spell_expand_check_cap(compl_col);
 	    compl_length = (int)curs_col - compl_col;
 	    compl_pattern = vim_strnsave(line + compl_col, compl_length);
 	    if (compl_pattern == NULL)