# HG changeset patch # User vimboss # Date 1120688960 0 # Node ID 7180554eefb19c52fc6986bb426cbb0891b3de87 # Parent 66ee829a41d848907486a7f657da5c975637ea78 updated for version 7.0104 diff --git a/runtime/optwin.vim b/runtime/optwin.vim --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: Bram Moolenaar -" 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 OptionL("spf") + call append("$", "spellcapcheck\tpattern to locate the end of a sentence") + call append("$", "\t(local to buffer)") + call OptionL("spc") call append("$", "spellsuggest\tmethods used to suggest corrections") call OptionG("sps", &sps) endif @@ -989,6 +992,8 @@ call append("$", "shellcmdflag\targument call OptionG("shcf", &shcf) call append("$", "shellredir\tused to redirect command output to a file") call OptionG("srr", &srr) +call append("$", "shelltemp\tuse a temp file for shell commands instead of using a pipe") +call BinOptionG("stmp", &stmp) call append("$", "equalprg\tprogram used for \"=\" command") call append("$", "\t(global or local to buffer)") call OptionG("ep", &ep) diff --git a/src/spell.c b/src/spell.c --- 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;