diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-16 21:59:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-16 21:59:56 +0000 |
commit | 520470a9d6afa273294848bc31e9ddfabe130434 (patch) | |
tree | 68eca1fa27b8113e3d4c9cbeeb4e72ec31e6dc6f /runtime/doc/spell.txt | |
parent | 6bab4d1fd761c6489e63d53d7834344cb0d3a74e (diff) |
updated for version 7.0086v7.0086
Diffstat (limited to 'runtime/doc/spell.txt')
-rw-r--r-- | runtime/doc/spell.txt | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index 8e86ec79fb..4f238c0d47 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 Jun 14 +*spell.txt* For Vim version 7.0aa. Last change: 2005 Jun 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -25,9 +25,9 @@ This command switches on spell checking: > This switches on the 'spell' option and specifies to check for US English. The words that are not recognized are highlighted with one of these: - SpellBad word not recognized - SpellRare rare word - SpellLocal wrong spelling for selected region + SpellBad word not recognized |hl-SpellBad| + SpellRare rare word |hl-SpellRare| + SpellLocal wrong spelling for selected region |hl-SpellLocal| Vim only checks words for spelling, there is no grammar check. @@ -63,9 +63,10 @@ zw Add word under the cursor as a wrong (bad) word to 'spellfile'. In Visual mode the selected characters are added as a word (including white space!). - *:spellg* *:spellgood* -:spellg[ood] {word} Add [word} as a good word to 'spellfile'. + *:spe* *:spellgood* +:spe[llgood] {word} Add [word} as a good word to 'spellfile'. + *:spellw* *:spellwrong* :spellw[rong] {word} Add [word} as a wrong (bad) word to 'spellfile'. After adding a word to 'spellfile' its associated ".spl" file will @@ -117,7 +118,7 @@ comes in (at least) these variants: en_us USA Words that are not used in one region but are used in another region are -highlighted with |SpellLocal|. +highlighted with SpellLocal |hl-SpellLocal|. Always use lowercase letters for the language and region names. @@ -223,7 +224,7 @@ find them here: http://lingucomponent.openoffice.org/spell_dic.html You can also use a plain word list. -:mksp[ell] [-ascii] {outname} {inname} ... *:mksp* *:mkspell* +:mksp[ell][!] [-ascii] {outname} {inname} ... *:mksp* *:mkspell* Generate a Vim spell file word lists. Example: > :mkspell nl nl_NL.words < @@ -233,6 +234,9 @@ You can also use a plain word list. {outname}.{encoding}.spl. {encoding} is the value of the 'encoding' option. + When the output file already exists [!] must be added + to overwrite it. + When the [-ascii] argument is present, words with non-ascii characters are skipped. The resulting file ends in "ascii.spl". |