Mercurial > vim
diff runtime/doc/spell.txt @ 388:f92bb1845823 v7.0101
updated for version 7.0101
author | vimboss |
---|---|
date | Sun, 03 Jul 2005 21:39:27 +0000 |
parents | 607d3cd9364f |
children | 4fe8e1a7758e |
line wrap: on
line diff
--- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -1,4 +1,4 @@ -*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 02 +*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -27,7 +27,7 @@ This switches on the 'spell' option and The words that are not recognized are highlighted with one of these: SpellBad word not recognized |hl-SpellBad| - SpellCap word not capatilized |hl-SpellCap| + SpellCap word not capitalised |hl-SpellCap| SpellRare rare word |hl-SpellRare| SpellLocal wrong spelling for selected region |hl-SpellLocal| @@ -321,6 +321,10 @@ find them here: You can also use a plain word list. The results are the same, the choice depends on what word lists you can find. +If you install Aap (from www.a-a-p.org) you can use the recipes in the +runtime/spell/??/ directories. Aap will take care of downloading the files, +apply patches needed for Vim and build the .spl file. + Make sure your current locale is set properly, otherwise Vim doesn't know what characters are upper/lower case letters. If the locale isn't available (e.g., when using an MS-Windows codepage on Unix) add tables to the .aff file @@ -389,7 +393,7 @@ 3. Change the xx_YY.aff and xx_YY.dic fi 4. Start Vim with the right locale and use |:mkspell| to generate the Vim spell file. 5. Try out the spell file with ":set spell spelllang=xx" if you wrote it in - a spell directory in 'runtimepath, or ":set spelllang=xx.enc.spl" if you + a spell directory in 'runtimepath', or ":set spelllang=xx.enc.spl" if you wrote it somewhere else. When the Myspell files are updated you can merge the differences: @@ -436,7 +440,7 @@ highlighted. Person and company names w appear in a word list. And some old words are rarely used while they are common misspellings. These do appear in a dictionary but not in a word list. -There are two formats: A straigth list of words and a list using affix +There are two formats: A straight list of words and a list using affix compression. The files with affix compression are used by Myspell (Mozilla and OpenOffice.org). This requires two files, one with .aff and one with .dic extension. @@ -760,7 +764,7 @@ Simplistic example: SAL C K ~ SAL K K ~ -There are a few rules and this can become quite complicated. An explantion +There are a few rules and this can become quite complicated. An explanation how it works can be found in the Aspell manual: http://aspell.net/man-html/Phonetic-Code.html. @@ -780,7 +784,7 @@ characters to another character, mapping same character. At the same time this does case folding. You can not have both SAL items and simple soundfolding. -There are two items required: one to speficy the characters that are mapped +There are two items required: one to specify the characters that are mapped and one that specifies the characters they are mapped to. They must have exactly the same number of characters. Example: