From: Bram Moolenaar Date: Wed, 6 Jul 2005 22:29:20 +0000 (+0000) Subject: updated for version 7.0104 X-Git-Tag: v7.0104~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=551f84f4e8a8e1dff7e4ec0a6e6e73a26905751e;p=vim updated for version 7.0104 --- diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 61535c70f..d4c6a8c5b 100644 --- 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 for 'shell' to execute a command") 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 index 94991e734..175cf0bff 100644 --- a/src/spell.c +++ b/src/spell.c @@ -4107,7 +4107,8 @@ store_aff_word(word, spin, afflist, affile, ht, xht, comb, flags, pfxlist) 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;