diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-22 22:59:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-22 22:59:46 +0000 |
commit | a6c840d7d4d51af2a15f64db5e5b908457b572cf (patch) | |
tree | 5779c3b1a4aa0cad9d46e56f85add8826d6b181a /runtime/doc/spell.txt | |
parent | e52325c254d929c7c8d68efb9ace0c7868433675 (diff) |
updated for version 7.0134v7.0134
Diffstat (limited to 'runtime/doc/spell.txt')
-rw-r--r-- | runtime/doc/spell.txt | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index f49abd300e..04b3132499 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -1,4 +1,4 @@ -*spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 21 +*spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -927,6 +927,19 @@ examples with the sequence of word flags they require: COMPOUNDFLAGS sm*e se sme smme smmme etc. COMPOUNDFLAGS s[xyz]*e se sxe sxye sxyxe sye syze sze szye szyxe etc. +A specific example: Allow a compound to be made of two words and a dash: + In the .aff file: + COMPOUNDFLAGS sde ~ + NEEDAFFIX x ~ + COMPOUNDMAX 3 ~ + COMPOUNDMIN 1 ~ + In the .dic file: + start/s ~ + end/e ~ + -/xd ~ + +This allows for the word "start-end", but not "startend". + *spell-COMPOUNDMIN* The minimal byte length of a word used for concatenation is specified with COMPOUNDMIN. Example: @@ -954,6 +967,10 @@ with COMPOUNDSYLMAX. Example: This has no effect if there is no SYLLABLE item. Without COMPOUNDSYLMAX there is no limit on the number of syllables. +If both COMPOUNDMAX and COMPOUNDSYLMAX are defined, a compound word is +accepted if it fits one of the criteria, thus is either made from up to +COMPOUNDMAX words or contains up to COMPOUNDSYLMAX syllables. + *spell-SYLLABLE* The SYLLABLE item defines characters or character sequences that are used to count the number of syllables in a word. Example: |