]> granicus.if.org Git - vim/commitdiff
updated for version 7.0133
authorBram Moolenaar <Bram@vim.org>
Sun, 21 Aug 2005 22:17:52 +0000 (22:17 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 21 Aug 2005 22:17:52 +0000 (22:17 +0000)
Filelist
runtime/doc/options.txt
runtime/doc/spell.txt
runtime/spell/en.latin1.spl
runtime/spell/he.vim [new file with mode: 0644]
runtime/spell/yi/yi.diff
src/proto/spell.pro
src/testdir/test58.ok
src/version.h

index 7579088158d66b917427bfa18691990f6ed81589..738dd9e2afe454bf4ca984d9a178bce3ad49586d 100644 (file)
--- a/Filelist
+++ b/Filelist
@@ -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 = \
index 56a91b6af7b39fad2e0d4ddfaee6b8cfb12b3483..802ae999c7891982b7e26f759689f93ac2c4eea4 100644 (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%|
index 2ec2eba36f578ada6001c6a874b7e715f8925f30..f49abd300e0c7255dc61ed6ca2bde8c439b2fbd0 100644 (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 ~
index 60350426b9f254e4e38ad9ce88cf4cacb33f8ceb..03820d56fc35c21f9e60f42fce59f699f89c1b77 100644 (file)
Binary files a/runtime/spell/en.latin1.spl and b/runtime/spell/en.latin1.spl differ
diff --git a/runtime/spell/he.vim b/runtime/spell/he.vim
new file mode 100644 (file)
index 0000000..76f52c4
--- /dev/null
@@ -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
index 45a2d90b07100c2c1a9ccd42173e0bd002f3c276..6db3f0104e09aac617ed154d3a6dfadc97ac0fc3 100644 (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 ****
index 46ac575d017c79da019b6cb72fce5c89c2231102..3c4c798551c76fb3cb7b6d40090b3454466cc13e 100644 (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));
index 186b2566686f5015d7ed37dedaa7254fe4c535e9..4a1f94835a0a4ba28886e59da16d8771ea19baaf 100644 (file)
@@ -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']
index 7a328452e975c67ab4e822de52c4c728ac28f312..336d3b2709b020a28c47c39525d8dced6f5b95c7 100644 (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 "