Mercurial > vim
comparison runtime/doc/spell.txt @ 624:91e7d4a7b3b0 v7.0178
updated for version 7.0178
author | vimboss |
---|---|
date | Thu, 29 Dec 2005 22:51:09 +0000 |
parents | 3686831cf3da |
children | 81fe2ccc1207 |
comparison
equal
deleted
inserted
replaced
623:bd2fe62c9d77 | 624:91e7d4a7b3b0 |
---|---|
1 *spell.txt* For Vim version 7.0aa. Last change: 2005 Dec 09 | 1 *spell.txt* For Vim version 7.0aa. Last change: 2005 Dec 29 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
678 als als Als ALS ALs AlS aLs aLS | 678 als als Als ALS ALs AlS aLs aLS |
679 Als Als ALS als ALs AlS aLs aLS | 679 Als Als ALS als ALs AlS aLs aLS |
680 ALS ALS als Als ALs AlS aLs aLS | 680 ALS ALS als Als ALs AlS aLs aLS |
681 AlS AlS ALS als Als ALs aLs aLS | 681 AlS AlS ALS als Als ALs aLs aLS |
682 | 682 |
683 The KEP affix ID can be used to specifically match a word with identical case | 683 The KEEPCASE affix ID can be used to specifically match a word with identical |
684 only, see below |spell-KEP|. | 684 case only, see below |spell-KEEPCASE|. |
685 | 685 |
686 Note in line 5 to 7 that non-word characters are used. You can include | 686 Note in line 5 to 7 that non-word characters are used. You can include |
687 any character in a word. When checking the text a word still only matches | 687 any character in a word. When checking the text a word still only matches |
688 when it appears with a non-word character before and after it. For Myspell a | 688 when it appears with a non-word character before and after it. For Myspell a |
689 word starting with a non-word character probably won't work. | 689 word starting with a non-word character probably won't work. |
692 meaning the comma is used instead. This is defined with the SLASH item in the | 692 meaning the comma is used instead. This is defined with the SLASH item in the |
693 affix file, see |spell-SLASH|. Note that without this SLASH item the | 693 affix file, see |spell-SLASH|. Note that without this SLASH item the |
694 word will be "TCP,IP". | 694 word will be "TCP,IP". |
695 | 695 |
696 *spell-affix-vim* | 696 *spell-affix-vim* |
697 A flag that Vim adds and is not in Myspell is the flag defined with KEP in the | 697 A flag that Vim adds and is not in Myspell is the flag defined with KEEPCASE |
698 affix file. This has the meaning that case matters. This can be used if the | 698 in the affix file. This has the meaning that case matters. This can be used |
699 word does not have the first letter in upper case at the start of a sentence. | 699 if the word does not have the first letter in upper case at the start of a |
700 Example (assuming that = was used for KEP): | 700 sentence. Example (assuming that = was used for KEEPCASE): |
701 | 701 |
702 word list matches does not match ~ | 702 word list matches does not match ~ |
703 's morgens/= 's morgens 'S morgens 's Morgens 'S MORGENS | 703 's morgens/= 's morgens 'S morgens 's Morgens 'S MORGENS |
704 's Morgens 's Morgens 'S MORGENS 'S morgens 's morgens | 704 's Morgens 's Morgens 'S MORGENS 'S morgens 's morgens |
705 | 705 |
882 | 882 |
883 Of course, the letter used should itself not appear in any word! The letter | 883 Of course, the letter used should itself not appear in any word! The letter |
884 must be ASCII, thus a single byte. | 884 must be ASCII, thus a single byte. |
885 | 885 |
886 | 886 |
887 KEEP-CASE WORDS *spell-KEP* | 887 KEEP-CASE WORDS *spell-KEEPCASE* |
888 | 888 |
889 In the affix file a KEP line can be used to define the affix name used for | 889 In the affix file a KEEPCASE line can be used to define the affix name used |
890 keep-case words. Example: | 890 for keep-case words. Example: |
891 | 891 |
892 KEP = ~ | 892 KEEPCASE = ~ |
893 | 893 |
894 See above for an example |spell-affix-vim|. | 894 See above for an example |spell-affix-vim|. |
895 | 895 |
896 | 896 |
897 RARE WORDS *spell-RAR* | 897 RARE WORDS *spell-RARE* |
898 | 898 |
899 In the affix file a RAR line can be used to define the affix name used for | 899 In the affix file a RARE line can be used to define the affix name used for |
900 rare words. Example: | 900 rare words. Example: |
901 | 901 |
902 RAR ? ~ | 902 RARE ? ~ |
903 | 903 |
904 Rare words are highlighted differently from bad words. This is to be used for | 904 Rare words are highlighted differently from bad words. This is to be used for |
905 words that are correct for the language, but are hardly ever used and could be | 905 words that are correct for the language, but are hardly ever used and could be |
906 a typing mistake anyway. When the same word is found as good it won't be | 906 a typing mistake anyway. When the same word is found as good it won't be |
907 highlighted as rare. | 907 highlighted as rare. |