Skip to content

Commit

Permalink
updated for version 7.0133
Browse files Browse the repository at this point in the history
  • Loading branch information
vimboss committed Aug 21, 2005
1 parent 7d3bd12 commit 8fb3d49
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 24 deletions.
2 changes: 2 additions & 0 deletions Filelist
Expand Up @@ -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 = \
Expand Down
8 changes: 4 additions & 4 deletions runtime/doc/options.txt
@@ -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
Expand Down Expand Up @@ -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%|
Expand Down
36 changes: 21 additions & 15 deletions runtime/doc/spell.txt
@@ -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
Expand Down Expand Up @@ -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>.
Expand Down Expand Up @@ -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 ~
Expand Down
Binary file modified runtime/spell/en.latin1.spl
Binary file not shown.
10 changes: 10 additions & 0 deletions runtime/spell/he.vim
@@ -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
2 changes: 1 addition & 1 deletion runtime/spell/yi/yi.diff
Expand Up @@ -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 ****
Expand Down
4 changes: 2 additions & 2 deletions src/proto/spell.pro
Expand Up @@ -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));
Expand Down
35 changes: 35 additions & 0 deletions src/testdir/test58.ok
Expand Up @@ -72,3 +72,38 @@ test
['test', 'Test']
d��l
['deol', 'd��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']
4 changes: 2 additions & 2 deletions src/version.h
Expand Up @@ -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 "

0 comments on commit 8fb3d49

Please sign in to comment.