diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-05-31 22:02:19 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-05-31 22:02:19 +0000 |
commit | d6ec8454b067b61fa65521a6fd628cd44090d474 (patch) | |
tree | 78c02d3c8b87c4780b37f34666e7169c242e2ba8 | |
parent | 0e6830e0098ba8c1a95c3b4ef9939666e8b9aba7 (diff) | |
download | vim-git-d6ec8454b067b61fa65521a6fd628cd44090d474.tar.gz |
updated for version 7.0077
-rw-r--r-- | src/spell.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/spell.c b/src/spell.c index 2a14da315..9d010f912 100644 --- a/src/spell.c +++ b/src/spell.c @@ -2601,8 +2601,12 @@ spell_read_aff(fname, conv, ascii) else if (*items[2] == 'N') cur_aff->ah_combine = FALSE; else if (p_verbose > 0) + { + verbose_enter(); smsg((char_u *)_("Expected Y or N in %s line %d: %s"), fname, lnum, items[2]); + verbose_leave(); + } cur_aff->ah_first = NULL; if (*items[0] == 'P') tp = &aff->af_pref; @@ -2699,8 +2703,12 @@ spell_read_aff(fname, conv, ascii) ++aff->af_rep.ga_len; } else if (p_verbose > 0) + { + verbose_enter(); smsg((char_u *)_("Unrecognized item in %s line %d: %s"), fname, lnum, items[0]); + verbose_leave(); + } } } @@ -3615,8 +3623,12 @@ get_basicword(word, asize) if (*p == NUL) /* Only non-word chars (bad word!) */ { if (p_verbose > 0) + { + verbose_enter(); smsg((char_u *)_("Warning: word without word characters: \"%s\""), foldword); + verbose_leave(); + } break; } if (spell_iswordc(p)) |