changeset 393:7180554eefb1

updated for version 7.0104
author vimboss
date Wed, 06 Jul 2005 22:29:20 +0000
parents 66ee829a41d8
children 998a43de0507
files runtime/optwin.vim src/spell.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -1,7 +1,7 @@
 " These commands create the option window.
 "
 " Maintainer:	Bram Moolenaar <Bram@vim.org>
-" Last Change:	2005 Jul 01
+" Last Change:	2005 Jul 06
 
 " If there already is an option window, jump to that one.
 if bufwinnr("option-window") > 0
@@ -395,6 +395,9 @@ if has("syntax")
   call append("$", "spellfile\tfile that \"zg\" adds good words to")
   call append("$", "\t(local to buffer)")
   call <SID>OptionL("spf")
+  call append("$", "spellcapcheck\tpattern to locate the end of a sentence")
+  call append("$", "\t(local to buffer)")
+  call <SID>OptionL("spc")
   call append("$", "spellsuggest\tmethods used to suggest corrections")
   call <SID>OptionG("sps", &sps)
 endif
@@ -989,6 +992,8 @@ call append("$", "shellcmdflag\targument
 call <SID>OptionG("shcf", &shcf)
 call append("$", "shellredir\tused to redirect command output to a file")
 call <SID>OptionG("srr", &srr)
+call append("$", "shelltemp\tuse a temp file for shell commands instead of using a pipe")
+call <SID>BinOptionG("stmp", &stmp)
 call append("$", "equalprg\tprogram used for \"=\" command")
 call append("$", "\t(global or local to buffer)")
 call <SID>OptionG("ep", &ep)
--- a/src/spell.c
+++ b/src/spell.c
@@ -4107,7 +4107,8 @@ store_aff_word(word, spin, afflist, affi
 			use_pfxlist = pfxlist;
 
 			/* When there are postponed prefixes... */
-			if (spin->si_prefroot != NULL)
+			if (spin->si_prefroot != NULL
+				&& spin->si_prefroot->wn_sibling != NULL)
 			{
 			    /* ... add a flag to indicate an affix was used. */
 			    use_flags |= WF_HAS_AFF;