updated for version 7.0133

This commit is contained in:
Bram Moolenaar
2005-08-21 22:17:52 +00:00
parent 50c8195012
commit 90915b5d48
9 changed files with 77 additions and 24 deletions

View File

@ -690,6 +690,8 @@ LANG_GEN = \
runtime/spell/??/main.aap \
runtime/spell/yi/README.txt \
runtime/spell/main.aap \
runtime/spell/*.vim \
runtime/spell/fixdup \
# generic language files, binary
LANG_GEN_BIN = \

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 7.0aa. Last change: 2005 Aug 18
*options.txt* For Vim version 7.0aa. Last change: 2005 Aug 21
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1984,9 +1984,9 @@ A jump table for the options with a short description can be found at |Q_op|.
*cpo-\*
\ Backslash in a [] range in a search pattern is taken
literally, only "\]" is special See |/[]|
'l' included: "/[ \t]" finds <Space>, '\' and 't'
'l' excluded: "/[ \t]" finds <Space> and <Tab>
Also see |cpo-\|.
'\' included: "/[ \-]" finds <Space>, '\' and '-'
'\' excluded: "/[ \-]" finds <Space> and '-'
Also see |cpo-l|.
*cpo-/*
/ When "%" is used as the replacement string in a |:s|
command, use the previous replacement string. |:s%|

View File

@ -1,4 +1,4 @@
*spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 19
*spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 21
VIM REFERENCE MANUAL by Bram Moolenaar
@ -124,19 +124,25 @@ z? For the word under/after the cursor suggest correctly
e.g., when the word after it is bad.
The results are sorted on similarity to the word
under/after the cursor.
This may take a long time. Hit CTRL-C when you are
This may take a long time. Hit CTRL-C when you get
bored.
This does not work when there is a line break halfway
a bad word (e.g., "the the").
You can enter the number of your choice or press
<Enter> if you don't want to replace. You can also
use the mouse to click on your choice (only works if
the mouse can be used in Normal mode and when there
are no line wraps). Click on the first (header) line
to cancel.
If 'verbose' is non-zero a score will be displayed to
indicate the likeliness to the badly spelled word (the
higher the score the more different).
If the command is used without a count the
alternatives are listed and you can enter the number
of your choice or press <Enter> if you don't want to
replace. You can also use the mouse to click on your
choice (only works if the mouse can be used in Normal
mode and when there are no line wraps). Click on the
first line (the header) to cancel.
If a count is used that suggestion is used, without
prompting. For example, "1z?" always takes the first
suggestion.
If 'verbose' is non-zero a score will be displayed
with the suggestions to indicate the likeliness to the
badly spelled word (the higher the score the more
different).
When a word was replaced the redo command "." will
repeat the word replacement. This works like "ciw",
the good word and <Esc>.
@ -773,8 +779,8 @@ marked as rare.
*spell-affix-nocomp*
Another extra item for Vim is the "nocomp" flag. It must come after the other
fields, before a comment. It can be either before or after "rare". When used
then all words that use the affix will not be used for compound words.
fields, before a comment. It can be either before or after "rare". When
present then all words that use the affix will not be part of a compound word.
Example:
affix file:
COMPOUNDFLAG c ~

Binary file not shown.

10
runtime/spell/he.vim Normal file
View File

@ -0,0 +1,10 @@
" For Hebrew capitals should not be checked. But only change the
" 'spellcapcheck' option when it is not at its default value.
let s:spc = &l:spc
setlocal spc&
if s:spc == &l:spc
setlocal spc=
else
let &l:spc = s:spc
endif
unlet s:spc

View File

@ -6,7 +6,7 @@
+ 999999
גרונטעלעמענט
דזשאָבענדיקס
*** /dev/null Tue Aug 16 10:44:00 2005
*** /dev/null Fri Aug 19 23:01:14 2005
--- yi.aff Mon Aug 15 23:06:00 2005
***************
*** 0 ****

View File

@ -5,14 +5,14 @@ void spell_cat_line __ARGS((char_u *buf, char_u *line, int maxlen));
char_u *did_set_spelllang __ARGS((buf_T *buf));
void spell_free_all __ARGS((void));
void spell_reload __ARGS((void));
int spell_check_msm __ARGS((void));
void put_bytes __ARGS((FILE *fd, long_u nr, int len));
void ex_mkspell __ARGS((exarg_T *eap));
void ex_spell __ARGS((exarg_T *eap));
void spell_add_word __ARGS((char_u *word, int len, int bad, int index));
void init_spell_chartab __ARGS((void));
int spell_check_sps __ARGS((void));
int spell_check_msm __ARGS((void));
void spell_suggest __ARGS((void));
void spell_suggest __ARGS((int count));
void ex_spellrepall __ARGS((exarg_T *eap));
void spell_suggest_list __ARGS((garray_T *gap, char_u *word, int maxcount, int need_cap));
char_u *eval_soundfold __ARGS((char_u *word));

View File

@ -72,3 +72,38 @@ test
['test', 'Test']
d<EFBFBD><EFBFBD>l
['deol', 'd<><64>r']
# file: Xtest.latin1.spl
bork
prebork
end
pro-ok
start
tomato
util
utilize
utils
word
wordutilize
['word utilize', 'wordutils', 'wordutil']
pro
['bork', 'end', 'word']
borkborkborkbork
['borkbork borkbork', 'borkborkbork bork', 'bork borkborkbork']
borkborkborkborkbork
['borkbork borkborkbork', 'borkborkbork borkbork', 'bork borkborkbork bork']
tomatotomato
['tomatotomato', 'tomato tomato']
tomatotomatotomato
['tomatotomatotomato', 'tomato tomatotomato', 'tomatotomato tomato']
endstart
['end start', 'start']
endend
['end end', 'end']
startstart
['start start']
wordstart
['word start', 'bork start']
startwordwordend
['startwordword end', 'startwordword', 'start wordword end']
borkpreborkpreborkbork
['bork preborkpreborkbork', 'borkpreborkprebork bork', 'borkprebork preborkbork']

View File

@ -36,5 +36,5 @@
#define VIM_VERSION_NODOT "vim70aa"
#define VIM_VERSION_SHORT "7.0aa"
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Aug 19)"
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Aug 19, compiled "
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Aug 22)"
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Aug 22, compiled "