From ae5bce1c127136a650ee25c4c78d3d334cc07859 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 15 Aug 2005 21:41:48 +0000 Subject: updated for version 7.0130 --- runtime/doc/change.txt | 6 +- runtime/doc/develop.txt | 5 +- runtime/doc/map.txt | 13 + runtime/doc/pattern.txt | 5 +- runtime/doc/spell.txt | 185 ++++++++- runtime/doc/syntax.txt | 5 +- runtime/doc/tags | 10 +- runtime/doc/todo.txt | 31 +- runtime/doc/version7.txt | 17 +- runtime/filetype.vim | 5 +- runtime/ftplugin/debchangelog.vim | 4 +- runtime/indent/php.vim | 2 +- runtime/spell/af/af_ZA.diff | 36 ++ runtime/spell/af/main.aap | 79 ++++ runtime/spell/bg/bg_BG.diff | 42 ++ runtime/spell/bg/main.aap | 79 ++++ runtime/spell/ca/ca_ES.diff | 76 ++++ runtime/spell/ca/main.aap | 81 ++++ runtime/spell/cs/cs_CZ.diff | 783 ++++++++++++++++++++++++++++++++++++++ runtime/spell/cs/main.aap | 81 ++++ runtime/spell/da/main.aap | 78 ++++ runtime/spell/de/de_19.diff | 27 ++ runtime/spell/de/de_20.diff | 28 ++ runtime/spell/de/de_AT.diff | 44 +++ runtime/spell/de/de_CH.diff | 27 ++ runtime/spell/de/de_DE.diff | 4 +- runtime/spell/de/main.aap | 155 +++++++- runtime/spell/en.ascii.spl | Bin 566599 -> 566601 bytes runtime/spell/en.latin1.spl | Bin 568694 -> 568696 bytes runtime/spell/en.utf-8.spl | Bin 569125 -> 569127 bytes runtime/spell/en/main.aap | 58 +-- runtime/spell/fr/main.aap | 20 +- runtime/spell/he/main.aap | 22 +- runtime/spell/hr/main.aap | 81 ++++ runtime/spell/it/main.aap | 16 +- runtime/spell/main.aap | 2 +- runtime/spell/nl/main.aap | 20 +- runtime/spell/ny/main.aap | 82 ++++ runtime/spell/pl/main.aap | 66 ++-- runtime/spell/sk/main.aap | 81 ++++ runtime/spell/sk/sk_SK.diff | 18 + runtime/spell/yi/main.aap | 2 +- runtime/syntax/verilogams.vim | 142 +++++++ src/ex_cmds.c | 12 +- src/ex_getln.c | 11 +- src/getchar.c | 10 + src/mbyte.c | 4 + src/regexp.c | 34 +- src/search.c | 9 +- src/spell.c | 408 ++++++++++++++++---- src/structs.h | 5 +- src/undo.c | 6 + src/version.h | 4 +- src/vim.h | 1 + 54 files changed, 2774 insertions(+), 248 deletions(-) create mode 100644 runtime/spell/af/af_ZA.diff create mode 100644 runtime/spell/af/main.aap create mode 100644 runtime/spell/bg/bg_BG.diff create mode 100644 runtime/spell/bg/main.aap create mode 100644 runtime/spell/ca/ca_ES.diff create mode 100644 runtime/spell/ca/main.aap create mode 100644 runtime/spell/cs/cs_CZ.diff create mode 100644 runtime/spell/cs/main.aap create mode 100644 runtime/spell/da/main.aap create mode 100644 runtime/spell/de/de_19.diff create mode 100644 runtime/spell/de/de_20.diff create mode 100644 runtime/spell/de/de_AT.diff create mode 100644 runtime/spell/de/de_CH.diff create mode 100644 runtime/spell/hr/main.aap create mode 100644 runtime/spell/ny/main.aap create mode 100644 runtime/spell/sk/main.aap create mode 100644 runtime/spell/sk/sk_SK.diff create mode 100644 runtime/syntax/verilogams.vim diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index fc0b1c91f7..3476ab229c 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 7.0aa. Last change: 2005 Jul 30 +*change.txt* For Vim version 7.0aa. Last change: 2005 Aug 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1534,4 +1534,8 @@ The details about sorting depend on the library function used. There is no guarantee that sorting is "stable" or obeys the current locale. You will have to try it out. +The sorting itself cannot be interrupted, because of using a system library +function. You can interrupt the preparation (for undo) and putting the sorted +lines into the buffer. In the last case you may end up with duplicated lines. + vim:tw=78:ts=8:ft=help:norl: diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt index dc3d695805..a640f5b3be 100644 --- a/runtime/doc/develop.txt +++ b/runtime/doc/develop.txt @@ -1,4 +1,4 @@ -*develop.txt* For Vim version 7.0aa. Last change: 2005 Jun 13 +*develop.txt* For Vim version 7.0aa. Last change: 2005 Aug 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -123,7 +123,8 @@ VIM IS... MAINTAINABLE *design-maintain* - The source code should not become a mess. It should be reliable code. - Use the same layout in all files to make it easy to read |coding-style|. -- Use comments in a useful way! +- Use comments in a useful way! Quoting the function name and argument names + is NOT useful. Do explain what they are for. - Porting to another platform should be made easy, without having to change too much platform-independent code. - Use the object-oriented spirit: Put data and code together. Minimize the diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 19a9d531c0..de29f0fbc5 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -273,6 +273,19 @@ with a space. Note: When using mappings for Visual mode, you can use the "'<" mark, which is the start of the last selected Visual area in the current buffer |'<|. + *:map-verbose* +When 'verbose' is non-zero, listing a key map will also display where it was +last defined. Example: > + + :verbose map * + n * * * + Last set from /home/abcd/.vimrc + +When the map was defined by hand there is no "Last set" message. When the map +was defined while executing a function, user command or autocommand, the +script in which it was defined is reported. +{not available when compiled without the +eval feature} + *map_backslash* Note that only CTRL-V is mentioned here as a special character for mappings and abbreviations. When 'cpoptions' does not contain 'B', a backslash can diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index b99b0d7ab8..078d754206 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.0aa. Last change: 2005 May 22 +*pattern.txt* For Vim version 7.0aa. Last change: 2005 Aug 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -944,6 +944,9 @@ x A single character, with no special meaning, matches itself This makes it Vi compatible: Without the "\_" or "\n" the collection does not match an end-of-line. + When the ']' is not there Vim will not give an error message but + assume no collection is used. Useful to search for '['. + If the sequence begins with "^", it matches any single character NOT in the collection: "[^xyz]" matches anything but 'x', 'y' and 'z'. - If two characters in the sequence are separated by '-', this is diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index 7d8a51a338..05252916a9 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -1,4 +1,4 @@ -*spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 12 +*spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -195,6 +195,14 @@ regions. You can change that by manually editing the 'spellfile'. See 'spellfile' are only used when all entries in "spelllang" specify the same region (not counting files specified by their .spl name). +Specific exception: For German these special regions are used: + de all German words accepted + de_de old and new spelling + de_19 old spelling + de_20 new spelling + de_at Austria + de_ch Switzerland + SPELL FILES *spell-load* @@ -335,6 +343,27 @@ they do: > Note that the default scripts don't set 'spellcapcheck' if it was changed from the default value. This assumes the user prefers another value then. + +DOUBLE SCORING *spell-double-scoring* + +The 'spellsuggest' option can be used to select "double" scoring. This +mechanism is based on the principle that there are two kinds of spelling +mistakes: + +1. You know how to spell the word, but mistype something. This results in a + small editing distance (character swapped/omitted/inserted) and possibly a + word that sounds completely different. + +2. You don't know how to spell the word and type something that sounds right. + The edit distance can be big but the word is similar after sound-folding. + +Since scores for these two mistakes will be very different we use a list +for each and mix them. + +The sound-folding is slow and people that know the language won't make the +second kind of mistakes. Therefore 'spellsuggest' can be set to select the +preferred method for scoring the suggestions. + ============================================================================== 3. Generating a spell file *spell-mkspell* @@ -409,6 +438,11 @@ then Vim will try to guess. and producing an output file in the same directory that has ".{enc}.spl" appended. +Vim will report the number of duplicate words. This might be a mistake in the +list of words. But sometimes it is used to have different prefixes and +suffixes for the same basic word to avoid them combining (e.g. Czech uses +this). + Since you might want to change a Myspell word list for use with Vim the following procedure is recommended: @@ -716,9 +750,27 @@ string is one character and equal to the last character of the added string, but in lower case. Thus when the chop string is used to allow the following word to start with an upper case letter. +It is not possible to use PFXPOSTPONE together with COMPOUNDFLAG or +COMPOUNDFLAGS. + + +WORDS WITH A SLASH *spell-affix-SLASH* + +The slash is used in the .dic file to separate the basic word from the affix +letters that can be used. Unfortunately, this means you cannot use a slash in +a word. Thus "TCP/IP" cannot be a word. To work around that you can define a +replacement character for the slash. Example: + + SLASH , ~ + +Now you can use "TCP,IP" to add the word "TCP/IP". + +Of course, the letter used should itself not appear in any word! The letter +must be ASCII, thus a single byte. + + +KEEP-CASE WORDS *spell-affix-KEP* -KEEP-CASE WORDS - *spell-affix-KEP* In the affix file a KEP line can be used to define the affix name used for keep-case words. Example: @@ -727,8 +779,8 @@ keep-case words. Example: See above for an example |spell-affix-vim|. -RARE WORDS - *spell-affix-RAR* +RARE WORDS *spell-affix-RAR* + In the affix file a RAR line can be used to define the affix name used for rare words. Example: @@ -740,8 +792,8 @@ a typing mistake anyway. When the same word is found as good it won't be highlighted as rare. -BAD WORDS - *spell-affix-BAD* +BAD WORDS *spell-affix-BAD* + In the affix file a BAD line can be used to define the affix name used for bad words. Example: @@ -756,6 +808,125 @@ Once a word has been marked as bad it won't be undone by encountering the same word as good. +COMPOUND WORDS *spell-affix-compound* + +A compound word is a longer word made by concatenating words. To specify +which words may be concatenated a character is used. This character is put in +the list of affixes after the word. We will call this character a flag here. +Obviously these flags must be different from any affix IDs used. + + *spell-COMPOUNDFLAG* +The Myspell compatible method uses one flag, specified with COMPOUNDFLAG. +All words with this flag combine in any order and without limit in length. +This means there is no control over which word comes first. Example: + COMPOUNDFLAG c ~ + + *spell-COMPOUNDFLAGS* +The method added by Vim allows specifying which words can be prepended to +other words, and which words can be appended to other words. This is a list +of comma separated items. Each item may contain zero or more dashes and plus +signs. + +NOTE: At this moment COMPOUNDFLAGS has not been implemented yet! + +An item without dashes specifies words that combine in any order and as often +as possible. Example: + COMPOUNDFLAGS c,m ~ + +This allows all words with the "c" flag to be combined and all words with the +"m" flag to be combined, but a word with the "c" flag doesn't combine with a +word with the "m" flag. + +Flags that are put together, without a separating comma, are considered +interchangable. Example: + COMPOUNDFLAGS cm ~ + +This allows all words with the "c" and/or "m" flag to be combined. + +An item with one dash specifies flags for a leading word and flags for a +trailing word. Thus only two-word combinations are made. Example: + COMPOUNDFLAGS f-d ~ + +Here the 'f' flag can be used for food and 'd' for dishes, such that you can +use these words in the dictionary: + tomato/f ~ + onion/f~ + soup/d~ + salat/d~ + +Which makes the words: + tomato + onion + soup + salat + tomatosoup + tomatosalat + onionsoup + onionsalat + +Note that something like "souptomato" is not possible. And that it's actually +easier to list all the words if you have only this few. + +More dashes can be used to allow more words to combine. For example: + COMPOUNDFLAGS f-d,f-f-d ~ + +Would allow "tomatoonionsoup" (OK, so this is a bad example, but you get the +idea). + +When a word can be used an undetermined number of times use a plus instead of +a dash. Example: + COMPOUNDFLAGS f+d ~ + +Then you can make tasty "oniononiontomatotomatosoup". + +The "+" may also appear at the end, which means that the last flags can be +repeated many times. Example: + COMPOUNDFLAGS f-d+ ~ + +Which allows the use of "onionsoupsoupsoupsoupsoupsoup". + + *spell-COMPOUNDMIN* +The minimal length of a word used for concatenation is specified with +COMPOUNDMIN. Example: + COMPOUNDMIN 5 ~ + +When omitted a minimal length of 3 bytes is used. Obviously you could just +leave out the compound flag from short words instead, this feature is present +for compatibility with Myspell. + + *spell-CMP* +NOTE: At this moment CMP has not been implemented yet! + +Sometimes it is necessary to change a word when concatenating it to another, +by removing a few letters, inserting something or both. It can also be useful +to restrict concatenation to words that match a pattern. For this purpose CMP +items can be used. They look like this: + CMP {flag} {strip} {add} {cond} {cond2} + + {flag} the flag, as used in COMPOUNDFLAGS for the lead word + {strip} text to remove from the end of the lead word (zero + for no stripping) + {add} text to insert between the words (zero for no + addition) + {cond} condition to match at the end of the lead word + {cond2} condition to match at the start of the following word + +This is exactly the same as what is used for SFX and PFX items, except there +is an extra condition. Example: + CMP f 0 - . . ~ + +When used with the food and dish word list above, this means that a dash is +inserted after each food item. Thus you get "onion-soup" and +"onion-tomato-salat". + +When there are CMP items for a compound flag the concatenation is only done +when a CMP item matches. + +When there are no CMP items for a compound flag, then all words will be +concatenated, as if there was an item: + CMP {flag} 0 0 . . + + REPLACEMENTS *spell-affix-REP* In the affix file REP items can be used to define common mistakes. This is diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 3643f7aa0c..04e76dbef1 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 7.0aa. Last change: 2005 Aug 11 +*syntax.txt* For Vim version 7.0aa. Last change: 2005 Aug 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2234,7 +2234,7 @@ vimrc file: > (Adapted from the html.vim help text by Claudio Fleiner ) -SH *sh.vim* *sh-syntax* +SH *sh.vim* *sh-syntax* *bash-syntax* *ksh-syntax* This covers the "normal" Unix (Bourne) sh, bash and the Korn shell. @@ -3647,6 +3647,7 @@ specified field is used, and settings are merged with previous ones. So, the result is like this single command has been used: > :hi Comment term=bold ctermfg=Cyan guifg=#80a0ff gui=bold < + *:highlight-verbose* When listing a highlight group and 'verbose' is non-zero, the listing will also tell where it was last set. Example: > :verbose hi Comment diff --git a/runtime/doc/tags b/runtime/doc/tags index 13f307337a..18f60888b3 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -2014,6 +2014,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* :highlight-default syntax.txt /*:highlight-default* :highlight-link syntax.txt /*:highlight-link* :highlight-normal syntax.txt /*:highlight-normal* +:highlight-verbose syntax.txt /*:highlight-verbose* :history cmdline.txt /*:history* :history-indexing cmdline.txt /*:history-indexing* :i insert.txt /*:i* @@ -2124,6 +2125,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* :map-silent map.txt /*:map-silent* :map-special-keys map.txt /*:map-special-keys* :map-undo map.txt /*:map-undo* +:map-verbose map.txt /*:map-verbose* :map_l map.txt /*:map_l* :map_l! map.txt /*:map_l!* :mapc map.txt /*:mapc* @@ -4242,6 +4244,7 @@ balloon-eval debugger.txt /*balloon-eval* bar motion.txt /*bar* bars help.txt /*bars* base_font_name_list mbyte.txt /*base_font_name_list* +bash-syntax syntax.txt /*bash-syntax* basic-syntax syntax.txt /*basic-syntax* basic.vim syntax.txt /*basic.vim* beep options.txt /*beep* @@ -5205,7 +5208,6 @@ hebrew hebrew.txt /*hebrew* hebrew.txt hebrew.txt /*hebrew.txt* help various.txt /*help* help-context help.txt /*help-context* -help-tags tags 1 help-translated various.txt /*help-translated* help-xterm-window various.txt /*help-xterm-window* help.txt help.txt /*help.txt* @@ -5532,6 +5534,7 @@ keypad-plus intro.txt /*keypad-plus* keypad-point intro.txt /*keypad-point* keys() eval.txt /*keys()* known-bugs todo.txt /*known-bugs* +ksh-syntax syntax.txt /*ksh-syntax* l motion.txt /*l* l:var eval.txt /*l:var* lace-syntax syntax.txt /*lace-syntax* @@ -6372,6 +6375,9 @@ spec_chglog_release_info pi_spec.txt /*spec_chglog_release_info* special-buffers windows.txt /*special-buffers* speed-up tips.txt /*speed-up* spell spell.txt /*spell* +spell-COMPOUNDFLAG spell.txt /*spell-COMPOUNDFLAG* +spell-COMPOUNDFLAGS spell.txt /*spell-COMPOUNDFLAGS* +spell-COMPOUNDMIN spell.txt /*spell-COMPOUNDMIN* spell-affix-BAD spell.txt /*spell-affix-BAD* spell-affix-FOL spell.txt /*spell-affix-FOL* spell-affix-KEP spell.txt /*spell-affix-KEP* @@ -6383,10 +6389,12 @@ spell-affix-RAR spell.txt /*spell-affix-RAR* spell-affix-REP spell.txt /*spell-affix-REP* spell-affix-SAL spell.txt /*spell-affix-SAL* spell-affix-SFX spell.txt /*spell-affix-SFX* +spell-affix-SLASH spell.txt /*spell-affix-SLASH* spell-affix-SOFOFROM spell.txt /*spell-affix-SOFOFROM* spell-affix-SOFOTO spell.txt /*spell-affix-SOFOTO* spell-affix-UPP spell.txt /*spell-affix-UPP* spell-affix-chars spell.txt /*spell-affix-chars* +spell-affix-compound spell.txt /*spell-affix-compound* spell-affix-mbyte spell.txt /*spell-affix-mbyte* spell-affix-vim spell.txt /*spell-affix-vim* spell-dic-format spell.txt /*spell-dic-format* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 8397b77af6..1f82ecc1a2 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.0aa. Last change: 2005 Aug 12 +*todo.txt* For Vim version 7.0aa. Last change: 2005 Aug 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,6 +30,11 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. *known-bugs* -------------------- Known bugs and current work ----------------------- +Spelling: +- suggestions for compound words. +- Implement multiple flags for compound words. Await comments from other + spell checking authors. + Mac unicode patch (Da Woon Jung): - selecting proportional font breaks display - UTF-8 text causes display problems. Font replacement causes this. @@ -77,12 +82,26 @@ PLANNED FOR VERSION 7.0: Use something like 'completefunc'? runtime/complete/{filetype}.vim files? In function arguments suggest variables of expected type. + List of completions is a Dictionary with items: + complist[0]['text'] = completion text + complist[0]['type'] = type of completion (e.g. function, var, arg) + complist[0]['help'] = help text (e.g. function declaration) + complist[0]['helpfunc'] = function that shows help text + etc. Ideas from others: http://www.vim.org/scripts/script.php?script_id=747 + http://sourceforge.net/projects/insenvim + of http://insenvim.sourceforge.net + Java, XML, HTML, C++, JSP, SQL, C# + MS-Windows only, lots of dependencies (e.g. Perl, Internet + explorer), uses .dll shared libraries. + for C++ uses $INCLUDE environment var + UI: popup menu with list of alternatives, icon to indicate type + optional popup window with info about selected alternative + Unrelated settings are changed (e.g. 'mousemodel'). + www.vim.org script 1213 (Java Development Environment) (Fuchuan Wang) - http://sourceforge.net/projects/insenvim - of http://insenvim.sourceforge.net IComplete: http://www.vim.org/scripts/script.php?script_id=1265 and http://stud4.tuwien.ac.at/~e0125672/icomplete/ http://cedet.sourceforge.net/intellisense.shtml (for Emacs) @@ -2571,16 +2590,12 @@ More advanced repeating commands: Mappings and Abbreviations: -8 Let ":verbose map xx" report where the mapping was set, just like with - ":verbose set". 8 When "0" is mapped (it is a movement command) this mapping should not be used after typing another number, e.g. "20l". (Charles Campbell) Is this possible without disabling the mapping of the following command? 8 Should mapping and both work? 7 ":abbr b byte", append "b " to an existing word still expands to "byte". This is Vi compatible, but can we avoid it anyway? -8 ":verbose map" could show the script where the mapping was defined. - m_script_ID can be used. 8 To make a mapping work with a prepended "x to select a register, store the last _typed_ register name and access it with "&. 8 Add ":amap", like ":amenu". @@ -2592,8 +2607,6 @@ Mappings and Abbreviations: 8 Allow mapping of CTRL-@ (anywhere in the LHS). 8 Give a warning when using CTRL-C in the lhs of a mapping. It will never (?) work. -7 ":verbose map" should display where a mapping was defined, like ":verbose - set". 8 Add a way to save a current mapping and restore it later. Use a function that returns the mapping command to restore it: mapcmd()? mapcheck() is not fool proof. How to handle ambiguous mappings? diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index 12f5ddf687..a1c537fd69 100644 --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -1,4 +1,4 @@ -*version7.txt* For Vim version 7.0aa. Last change: 2005 Aug 12 +*version7.txt* For Vim version 7.0aa. Last change: 2005 Aug 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -559,6 +559,11 @@ when the buffer does not have a name or no specific name. See For xterm most combinations of modifiers with function keys are recognized. |xterm-modifier-keys| +When 'verbose' is set the output of ":highlight" will show where a highlight +item was last set. +When 'verbose' is set the output of ":map" will show where a key map was +last defined. (Yegappan Lakshmanan) + ============================================================================== IMPROVEMENTS *improvements-7* @@ -740,6 +745,7 @@ pointer position instead of the text cursor. The table with encodings has been expanded with many MS-Windows codepages, such as cp1250 and cp737, so that these can also be used on Unix without prepending "8bit-". +When an encoding name starts with "microsoft-cp" ignore the "microsoft-" part. Added the "customlist" completion argument to a user-defined command. The user-defined completion function should return the completion candidates as a @@ -752,9 +758,6 @@ Win32: Balloons can have multiple lines if common controls supports it. The 's' flag is added to the search() and searchpair() function to set the ' mark if the cursor is moved. (Yegappan Lakshmanan) -When 'verbose' is set the output of ":highlight" will show where a highlight -item was last set. - For 'errorformat' it was not possible to have a file name that contains the character that follows after "%f". For example, in "%f:%l:%m" the file name could not contain ":". Now include the first ":" where the rest of the @@ -1283,4 +1286,10 @@ were not set. Win32: Could not use "**/" in 'path', it had to be "**\". +The search pattern "\n" did not match at the end of the last line. + +Searching for a pattern backwards, starting on the NUL at the end of the line +and 'encoding' is "utf-8" would match the pattern just before it incorrectly. +Affected searchpair('/\*', '', '\*/'). + vim:tw=78:ts=8:ft=help:norl: diff --git a/runtime/filetype.vim b/runtime/filetype.vim index d8fd0af529..560c479d2a 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar -" Last Change: 2005 Jul 13 +" Last Change: 2005 Aug 15 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -1700,6 +1700,9 @@ au BufNewFile,BufRead /etc/updatedb.conf setf updatedb " Verilog HDL au BufNewFile,BufRead *.v setf verilog +" Verilog-AMS HDL +au BufNewFile,BufRead *.va,*.vams setf verilogams + " VHDL au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst setf vhdl au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl') diff --git a/runtime/ftplugin/debchangelog.vim b/runtime/ftplugin/debchangelog.vim index 32db5a73d6..59f601ad01 100644 --- a/runtime/ftplugin/debchangelog.vim +++ b/runtime/ftplugin/debchangelog.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Debian Changelog " Maintainer: Michael Piefel -" Last Change: 23 March 2004 +" Last Change: 15 August 2005 if exists("g:did_changelog_ftplugin") finish @@ -30,7 +30,7 @@ function Email() elseif exists("$EMAIL") return $EMAIL elseif exists("g:debianemail") - return g:debianfullemail + return g:debianemail else return "your@email.address" endif diff --git a/runtime/indent/php.vim b/runtime/indent/php.vim index 7f7aa56bc9..3e7a990239 100644 --- a/runtime/indent/php.vim +++ b/runtime/indent/php.vim @@ -2,7 +2,7 @@ " Language: PHP " Author: John Wellesz " URL: http://www.2072productions.com/vim/indent/php.vim -" Last Change: 2005 June 30th +" Last Change: 2005 Aug 15 " Version: 1.17 " " For a complete change log and lots of comments in the code, download the script on diff --git a/runtime/spell/af/af_ZA.diff b/runtime/spell/af/af_ZA.diff new file mode 100644 index 0000000000..9c85804ff7 --- /dev/null +++ b/runtime/spell/af/af_ZA.diff @@ -0,0 +1,36 @@ +*** af_ZA.orig.aff Sun Aug 14 17:37:01 2005 +--- af_ZA.aff Sun Aug 14 17:38:11 2005 +*************** +*** 23,24 **** +--- 23,34 ---- + ++ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ ++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ ++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? ++ ++ MIDWORD '- ++ SLASH , ++ + MAP 3 +*** af_ZA.orig.dic Sun Aug 14 17:37:01 2005 +--- af_ZA.dic Sun Aug 14 17:38:54 2005 +*************** +*** 1861,1864 **** + T-skyf +! TCP/IP +! TCP/IP-bondel + TLA +--- 1861,1864 ---- + T-skyf +! TCP,IP +! TCP,IP-bondel + TLA +*************** +*** 124109,124111 **** + vrywilliglik +- vt + vuile/R +--- 124109,124110 ---- diff --git a/runtime/spell/af/main.aap b/runtime/spell/af/main.aap new file mode 100644 index 0000000000..d393c5fe67 --- /dev/null +++ b/runtime/spell/af/main.aap @@ -0,0 +1,79 @@ +# Aap recipe for Afrikaans Vim spell files. + +# Use a freshly compiled Vim if it exists. +@if os.path.exists('../../../src/vim'): + VIM = ../../../src/vim +@else: + :progsearch VIM vim + +SPELLDIR = .. +FILES = af_ZA.aff af_ZA.dic + +all: $SPELLDIR/af.latin1.spl $SPELLDIR/af.utf-8.spl ../README_af.txt + +$SPELLDIR/af.latin1.spl : $VIM $FILES + :sys env LANG=af_ZA.ISO8859-1 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/af af_ZA" -c q + +$SPELLDIR/af.utf-8.spl : $VIM $FILES + :sys env LANG=af_ZA.UTF-8 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/af af_ZA" -c q + +../README_af.txt : README_af_ZA.txt + :copy $source $target + +# +# Fetching the file from SourceForge. The archive at OpenOffice is broken! +# +FILE = http://surfnet.dl.sourceforge.net/sourceforge/translate/myspell-af_ZA-20040727.zip + +:attr {fetch = $FILE} af_ZA.zip + +# The files don't depend on the .zip file so that we can delete it. +# Only download the zip file if the targets don't exist. +af_ZA.aff af_ZA.dic: {buildcheck=} + :assertpkg unzip patch + :fetch af_ZA.zip + :sys $UNZIP af_ZA.zip + :delete af_ZA.zip + @if not os.path.exists('af_ZA.orig.aff'): + :copy af_ZA.aff af_ZA.orig.aff + @if not os.path.exists('af_ZA.orig.dic'): + :copy af_ZA.dic af_ZA.orig.dic + @if os.path.exists('af_ZA.diff'): + :sys patch af_ZA.diff + :sys {force} diff -a -C 1 af_ZA.orig.dic af_ZA.dic >>af_ZA.diff + + +# Check for updated OpenOffice spell files. When there are changes the +# ".new.aff" and ".new.dic" files are left behind for manual inspection. + +check: + :assertpkg unzip diff + :fetch af_ZA.zip + :mkdir tmp + :cd tmp + @try: + @import stat + :sys $UNZIP ../af_ZA.zip + :sys {force} diff ../af_ZA.orig.aff af_ZA.aff >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy af_ZA.aff ../af_ZA.new.aff + :sys {force} diff ../af_ZA.orig.dic af_ZA.dic >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy af_ZA.dic ../af_ZA.new.dic + @finally: + :cd .. + :delete {r}{f}{q} tmp + :delete af_ZA.zip + + +# vim: set sts=4 sw=4 : diff --git a/runtime/spell/bg/bg_BG.diff b/runtime/spell/bg/bg_BG.diff new file mode 100644 index 0000000000..da0a4f3491 --- /dev/null +++ b/runtime/spell/bg/bg_BG.diff @@ -0,0 +1,42 @@ +*** bg_BG.orig.aff Sun Aug 14 18:12:44 2005 +--- bg_BG.aff Sun Aug 14 18:13:12 2005 +*************** +*** 1,2 **** +! SET microsoft-cp1251 + TRY àåíîèðòâñëêìïçäÿóúá÷ãöæõøôéùþüÀÅÍÎÈÐÒÂÑËÊÌÏÇÄßÓÚÁ×ÃÖÆÕØÔÉÙÞÜ +--- 1,2 ---- +! SET cp1251 + TRY àåíîèðòâñëêìïçäÿóúá÷ãöæõøôéùþüÀÅÍÎÈÐÒÂÑËÊÌÏÇÄßÓÚÁ×ÃÖÆÕØÔÉÙÞÜ +*************** +*** 1682,1684 **** + +! MAP 26 + MAP àúüa +--- 1682,1684 ---- + +! MAP 25 + MAP àúüa +*************** +*** 1691,1695 **** + MAP æø +! MAP çñ + MAP pð +- MAP cñ + MAP xõ +--- 1691,1694 ---- + MAP æø +! MAP cçñ + MAP pð + MAP xõ +*************** +*** 1707,1709 **** + MAP PÐ +- MAP YÓ + MAP XÕ +--- 1706,1711 ---- + MAP PÐ + MAP XÕ ++ ++ REP 2 ++ REP Y Ó ++ REP Ó Y diff --git a/runtime/spell/bg/main.aap b/runtime/spell/bg/main.aap new file mode 100644 index 0000000000..7849526ed0 --- /dev/null +++ b/runtime/spell/bg/main.aap @@ -0,0 +1,79 @@ +# Aap recipe for Czech Vim spell files. + +# Use a freshly compiled Vim if it exists. +@if os.path.exists('../../../src/vim'): + VIM = ../../../src/vim +@else: + :progsearch VIM vim + +SPELLDIR = .. +FILES = bg_BG.aff bg_BG.dic + +all: $SPELLDIR/bg.cp1251.spl $SPELLDIR/bg.utf-8.spl ../README_bg.txt + +$SPELLDIR/bg.cp1251.spl : $VIM $FILES + :sys env LANG=bg_BG.CP1251 $VIM -u NONE -e -c "mkspell! $SPELLDIR/bg bg_BG" -c q + +$SPELLDIR/bg.utf-8.spl : $VIM $FILES + :sys env LANG=bg_BG.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/bg bg_BG" -c q + +../README_bg.txt: README_bg_BG.txt + :copy $source $target + +# +# Fetching the files from OpenOffice.org. +# +OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries +:attr {fetch = $OODIR/%file%} bg_BG.zip + +# The files don't depend on the .zip file so that we can delete it. +# Only download the zip file if the targets don't exist. +# This is a bit tricky, since the file name includes the date. +bg_BG.aff bg_BG.dic: {buildcheck=} + :assertpkg unzip patch + :fetch bg_BG.zip + :sys $UNZIP bg_BG.zip + :delete bg_BG.zip + :sys $VIM bg_BG.aff -c "set ff=unix" -c "update" -c q + :sys $VIM bg_BG.dic -c "set ff=unix" -c "update" -c q + @if not os.path.exists('bg_BG.orig.aff'): + :copy bg_BG.aff bg_BG.orig.aff + @if not os.path.exists('bg_BG.orig.dic'): + :copy bg_BG.dic bg_BG.orig.dic + @if os.path.exists('bg_BG.diff'): + :sys patch bg_BG.diff + :sys {force} diff -a -C 1 bg_BG.orig.dic bg_BG.dic >>bg_BG.diff + + +# Check for updated OpenOffice spell files. When there are changes the +# ".new.aff" and ".new.dic" files are left behind for manual inspection. + +check: + :assertpkg unzip diff + :fetch bg_BG.zip + :mkdir tmp + :cd tmp + @try: + @import stat + :sys $UNZIP ../bg_BG.zip + :sys {force} diff ../bg_BG.orig.aff bg_BG.aff >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy bg_BG.aff ../bg_BG.new.aff + :sys {force} diff ../bg_BG.orig.dic bg_BG.dic >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy bg_BG.dic ../bg_BG.new.dic + @finally: + :cd .. + :delete {r}{f}{q} tmp + :delete bg_BG.zip + + +# vim: set sts=4 sw=4 : diff --git a/runtime/spell/ca/ca_ES.diff b/runtime/spell/ca/ca_ES.diff new file mode 100644 index 0000000000..dda3b0a5c7 --- /dev/null +++ b/runtime/spell/ca/ca_ES.diff @@ -0,0 +1,76 @@ +*** ca_ES.orig.aff Sat Aug 13 18:01:36 2005 +--- ca_ES.aff Sat Aug 13 18:01:32 2005 +*************** +*** 44,48 **** + +! # substitucions preferides +! FIRST a/à e/é/è é/è/e è/é/e i/í/ï í/i/ï o/ó/ò ó/ò/o ò/ó/o u/ú/ü ú/u/ü ü/u/ú +! FIRST l/l·l l·l/l + +--- 44,65 ---- + +! FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ +! LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ +! UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ +! +! SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ +! SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? +! +! MIDWORD ·-' +! +! MAP 6 +! MAP aàáâãäå +! MAP eèéêë +! MAP iìíîï +! MAP oòóôõö +! MAP uùúûü +! MAP cç +! +! REP 2 +! REP l l·l +! REP l·l l + +*** ca_ES.orig.dic Sat Aug 13 18:01:55 2005 +--- ca_ES.dic Sat Aug 13 18:01:51 2005 +*************** +*** 25312,25314 **** + caos/E +- cap + cap-rodo/E +--- 25312,25313 ---- +*************** +*** 35103,35105 **** + corrasió/G +- corre + corre-corrents +--- 35102,35103 ---- +*************** +*** 99806,99808 **** + majúscul/F +- mal + mal-llevat/E +--- 99804,99805 ---- +*************** +*** 107517,107519 **** + notòriament +- nou + nou-centes/E +--- 107514,107515 ---- +*************** +*** 122687,122689 **** + ratània/E +- rau + rau-rau/E +--- 122683,122684 ---- +*************** +*** 139389,139391 **** + taüt/E +- te + te'l +--- 139384,139385 ---- +*************** +*** 147590,147592 **** + vitícola/E +- viu + viu-viu/E +--- 147584,147585 ---- diff --git a/runtime/spell/ca/main.aap b/runtime/spell/ca/main.aap new file mode 100644 index 0000000000..b2f7350b6d --- /dev/null +++ b/runtime/spell/ca/main.aap @@ -0,0 +1,81 @@ +# Aap recipe for Catelan (Spain) Vim spell files. + +# Use a freshly compiled Vim if it exists. +@if os.path.exists('../../../src/vim'): + VIM = ../../../src/vim +@else: + :progsearch VIM vim + +SPELLDIR = .. +FILES = ca_ES.aff ca_ES.dic + +all: $SPELLDIR/ca.latin1.spl $SPELLDIR/ca.utf-8.spl ../README_ca.txt + +$SPELLDIR/ca.latin1.spl : $VIM $FILES + :sys env LANG=ca_ES.ISO8859-1 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/ca ca_ES" -c q + +$SPELLDIR/ca.utf-8.spl : $VIM $FILES + :sys env LANG=ca_ES.UTF-8 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/ca ca_ES" -c q + +../README_ca.txt : README_ca_ES.txt + :copy $source $target + +# +# Fetching the files from OpenOffice.org. +# +OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries +:attr {fetch = $OODIR/%file%} ca_ES.zip + +# The files don't depend on the .zip file so that we can delete it. +# Only download the zip file if the targets don't exist. +# Make sure the files are in Unix fileformat +ca_ES.aff ca_ES.dic: {buildcheck=} + :assertpkg unzip patch + :fetch ca_ES.zip + :sys $UNZIP ca_ES.zip + :delete ca_ES.zip + :sys $VIM ca_ES.aff -c "set ff=unix" -c "update" -c q + :sys $VIM ca_ES.dic -c "set ff=unix" -c "update" -c q + @if not os.path.exists('ca_ES.orig.aff'): + :copy ca_ES.aff ca_ES.orig.aff + @if not os.path.exists('ca_ES.orig.dic'): + :copy ca_ES.dic ca_ES.orig.dic + @if os.path.exists('ca_ES.diff'): + :sys patch ca_ES.diff + :sys {force} diff -a -C 1 ca_ES.orig.dic ca_ES.dic >>ca_ES.diff + + +# Check for updated OpenOffice spell files. When there are changes the +# ".new.aff" and ".new.dic" files are left behind for manual inspection. + +check: + :assertpkg unzip diff + :fetch ca_ES.zip + :mkdir tmp + :cd tmp + @try: + @import stat + :sys $UNZIP ../ca_ES.zip + :sys {force} diff ../ca_ES.orig.aff ca_ES.aff >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy ca_ES.aff ../ca_ES.new.aff + :sys {force} diff ../ca_ES.orig.dic ca_ES.dic >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy ca_ES.dic ../ca_ES.new.dic + @finally: + :cd .. + :delete {r}{f}{q} tmp + :delete ca_ES.zip + + +# vim: set sts=4 sw=4 : diff --git a/runtime/spell/cs/cs_CZ.diff b/runtime/spell/cs/cs_CZ.diff new file mode 100644 index 0000000000..40a84ef843 --- /dev/null +++ b/runtime/spell/cs/cs_CZ.diff @@ -0,0 +1,783 @@ +*** cs_CZ.orig.aff Sat Aug 13 21:38:29 2005 +--- cs_CZ.aff Sat Aug 13 23:29:13 2005 +*************** +*** 3,4 **** +--- 3,8 ---- + ++ FOL ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW ±¢³µ¶¨¹º»¼¾¿±²³´µ¶·¸¹º»¼½¾¿àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ¡¢£¥¦¨©ª«¬®¯±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ + PFX N Y 1 +*************** +*** 2118,2120 **** + SFX A nout ly [aeiouyáéíóúýùì]rnout +! SFX A nout l [aeiouyáéíóúýùìr][^aeiouyáéíóúýùìrl][^aeiouy + SFX A nout l [aeiouyáéíóúýùìr][^aeiouyáéíóúýùìrl]nout +--- 2122,2124 ---- + SFX A nout ly [aeiouyáéíóúýùì]rnout +! SFX A nout l [aeiouyáéíóúýùìr][^aeiouyáéíóúýùìrl][^aeiouy]out + SFX A nout l [aeiouyáéíóúýùìr][^aeiouyáéíóúýùìrl]nout +*** cs_CZ.orig.dic Sat Aug 13 21:38:29 2005 +--- cs_CZ.dic Sun Aug 14 15:33:38 2005 +*************** +*** 2944,2946 **** + ar/H +- arch + archaický/YCRN +--- 2944,2945 ---- +*************** +*** 3098,3100 **** + arogantní/YKRN +- aroma + aroma/K +--- 3097,3098 ---- +*************** +*** 4753,4755 **** + banjo/MQ +- bank + banka/ZQ +--- 4751,4752 ---- +*************** +*** 5540,5542 **** + Bechyòákùv/Y +- Bechynì + Bechynì/S +--- 5537,5538 ---- +*************** +*** 5945,5947 **** + bermudský/YRN +- Bermudy + Bermudy/ZQ +--- 5941,5942 ---- +*************** +*** 6111,6113 **** + Beustùv/Y +- bez + Bezáková/Y +--- 6106,6107 ---- +*************** +*** 7294,7296 **** + blána/Z +- Blanc + Blanc/PV +--- 7288,7289 ---- +*************** +*** 9456,9458 **** + bøichovitý/YKR +- bøímì + bøímì/M +--- 9449,9450 ---- +*************** +*** 9667,9669 **** + budy¹ínský/Y +- bufet + bufetáøèin/Y +--- 9659,9660 ---- +*************** +*** 9677,9679 **** + bufferový/YRN +- buffet + buffet/H +--- 9668,9669 ---- +*************** +*** 11386,11388 **** + cop/H +- copyright + copyright/H +--- 11376,11377 ---- +*************** +*** 11446,11448 **** + cresc +- crescendo + crescendo/MQ +--- 11435,11436 ---- +*************** +*** 13810,13812 **** + daktylus/Q +- dál + dalajláma/PV +--- 13798,13799 ---- +*************** +*** 13816,13818 **** + dál/E +- dále + Dalecký/Y +--- 13803,13804 ---- +*************** +*** 13821,13823 **** + dále/E +- daleko + dalekohled/H +--- 13807,13808 ---- +*************** +*** 14082,14084 **** + datla +- datle + datlech +--- 14067,14068 ---- +*************** +*** 14756,14758 **** + dekuraèní/YRN +- dìl + delaborace/Z +--- 14740,14741 ---- +*************** +*** 15301,15303 **** + desaterákùv/Y +- desatero + desatero/MQ +--- 15284,15285 ---- +*************** +*** 15716,15718 **** + devaterník/H +- devatero + devatero/MQ +--- 15698,15699 ---- +*************** +*** 16152,16154 **** + DIK +- dík + dikalciumfosfát/H +--- 16133,16134 ---- +*************** +*** 16603,16605 **** + Diùv/Y +- div + divácký/YKR +--- 16583,16584 ---- +*************** +*** 19886,19888 **** + dopola +- dopoledne + dopoledne/M +--- 19865,19866 ---- +*************** +*** 19970,19972 **** + doprat/ATN +- doprava + doprava/ZQ +--- 19948,19949 ---- +*************** +*** 22912,22914 **** + døív/E +- døíve + døíveèko/MQ +--- 22889,22890 ---- +*************** +*** 26369,26371 **** + fakoemulsifikace/Z +- faksimile + faksimile/Z +--- 26345,26346 ---- +*************** +*** 27266,27268 **** + fimóza/ZQ +- finále + finále/Z +--- 27241,27242 ---- +*************** +*** 28101,28103 **** + foxtrotový/Y +- foyer + foyer/H +--- 28075,28076 ---- +*************** +*** 28759,28761 **** + Gajdùv/Y +- Gal + gal +--- 28732,28733 ---- +*************** +*** 29060,29062 **** + gemovat/ATN +- gen + genciánový/YR +--- 29032,29033 ---- +*************** +*** 29410,29412 **** + glejt/H +- glissando + glissando/MQ +--- 29381,29382 ---- +*************** +*** 31247,31249 **** + hefebrand/H +- Hegel + Hegela +--- 31217,31218 ---- +*************** +*** 31602,31604 **** + Herkulem +- Herkules + Herkules/D +--- 31571,31572 ---- +*************** +*** 32258,32260 **** + hloubìtínský/Y +- hloubi + hloubicí/Y +--- 32226,32227 ---- +*************** +*** 32612,32614 **** + Hocký/Y +- hod + Hodìjice/C +--- 32579,32580 ---- +*************** +*** 33069,33071 **** + homoisoflavonoid/H +- Homola + Homola/PV +--- 33035,33036 ---- +*************** +*** 34389,34391 **** + høebelec/S +- høeben + høebenatka/ZQ +--- 34354,34355 ---- +*************** +*** 34817,34819 **** + Huserkùv/Y +- husí + husice/ZQ +--- 34781,34782 ---- +*************** +*** 36441,36443 **** + chøupavý/YKRN +- chtì + chtìje/XN +--- 36404,36405 ---- +*************** +*** 38569,38571 **** + jajaj +- jak + jakákoli +--- 38531,38532 ---- +*************** +*** 39323,39325 **** + jedné/N +- jedni + jednice/ZQ +--- 39284,39285 ---- +*************** +*** 39534,39536 **** + jednotýdenní/YR +- jednou + jednoúèelový/YRN +--- 39494,39495 ---- +*************** +*** 39717,39719 **** + jemu¾ +- jen + Jena/ZQ +--- 39676,39677 ---- +*************** +*** 39755,39757 **** + jen/N +- jenom + jenom/N +--- 39713,39714 ---- +*************** +*** 40149,40151 **** + jináè/S +- jinak + jinak/N +--- 40106,40107 ---- +*************** +*** 41317,41319 **** + Kalistùv/Y +- Kali¹ + kalí¹ek/Q +--- 41273,41274 ---- +*************** +*** 42861,42863 **** + kde¾to +- kdo + kdojíjak +--- 42816,42817 ---- +*************** +*** 44048,44050 **** + Klsákùv/Y +- klub + klubající/YN +--- 44002,44003 ---- +*************** +*** 44235,44237 **** + Kneøùv/Y +- knìz + knìze +--- 44188,44189 ---- +*************** +*** 45007,45009 **** + kolik +- kolika + kolikaciferný/YKRN +--- 44959,44960 ---- +*************** +*** 46292,46294 **** + kontinuum/MQ +- konto + kontokorent/H +--- 46243,46244 ---- +*************** +*** 47152,47154 **** + kosmopolitùv/Y +- kosmos + kosmos/Q +--- 47102,47103 ---- +*************** +*** 51844,51846 **** + Leclancheùv/Y +- leè + léèba/ZQ +--- 51793,51794 ---- +*************** +*** 52449,52451 **** + le¹tivý/YKRN +- let + létací/YN +--- 52397,52398 ---- +*************** +*** 54351,54353 **** + lùj +- luk + Lukáèová/Y +--- 54298,54299 ---- +*************** +*** 55408,55410 **** + Mallorca/ZQ +- málo + malobur¾oasie/Z +--- 55354,55355 ---- +*************** +*** 55574,55576 **** + mamutùv/Y +- Man + má/N +--- 55519,55520 ---- +*************** +*** 55852,55854 **** + Maputo/MQ +- marabu + marabu/PV +--- 55796,55797 ---- +*************** +*** 57254,57256 **** + Mendlùv/Y +- ménì + ménìcennìj¹í/YRW +--- 57197,57198 ---- +*************** +*** 58358,58360 **** + milený/YN +- milerád + milerád/O +--- 58300,58301 ---- +*************** +*** 59426,59428 **** + mocím +- mocipán + mocipána +--- 59367,59368 ---- +*************** +*** 60833,60835 **** + Muchùv/Y +- mùj + mùj/Y +--- 60773,60774 ---- +*************** +*** 62308,62310 **** + nadplocha/ZQ +- nadpoèet + nadpoèetnìj¹í/YRW +--- 62247,62248 ---- +*************** +*** 66114,66116 **** + nava¾ující/YN +- naveèer + naveèer/L +--- 66052,66053 ---- +*************** +*** 66581,66583 **** + nebes +- nebesa + nebesa/MQ +--- 66518,66519 ---- +*************** +*** 68080,68082 **** + noblesní/YKR +- noc + nocemi +--- 68016,68017 ---- +*************** +*** 68562,68564 **** + novum/MQ +- Nový + Nový/Y +--- 68497,68498 ---- +*************** +*** 73018,73020 **** + odpojovávat/JTN +- odpoledne + odpoledne/M +--- 72952,72953 ---- +*************** +*** 73121,73123 **** + odpra¹ovat/ATN +- odprava + odprava/ZQ +--- 73054,73055 ---- +*************** +*** 76145,76147 **** + oosféra/ZQ +- op + opáèení/SN +--- 76077,76078 ---- +*************** +*** 78040,78042 **** + ostøihnout/ATN +- Ostøihom + Ostøihom/K +--- 77971,77972 ---- +*************** +*** 80117,80121 **** + pantheistický/YCR +- pantofel + pantofel/Q +- pantofle + pantoflemi +--- 80047,80049 ---- +*************** +*** 80258,80260 **** + par +- pár + paraamfibolit/H +--- 80186,80187 ---- +*************** +*** 81414,81416 **** + PE +- pec + pecaø/U +--- 81341,81342 ---- +*************** +*** 82720,82722 **** + pianistùv/Y +- piano + piáno/MQ +--- 82646,82647 ---- +*************** +*** 83321,83323 **** + pizzerie/Z +- pizzicato + pizzicato/MQ +--- 83246,83247 ---- +*************** +*** 83731,83733 **** + plebiscit/H +- plebs + plebse +--- 83655,83656 ---- +*************** +*** 83833,83835 **** + Pleskotùv/Y +- plesky + plesky/H +--- 83756,83757 ---- +*************** +*** 85861,85863 **** + podøadìní/SN +- podøadìný + podøadìný/YKRN +--- 85783,85784 ---- +*************** +*** 89077,89079 **** + popøávat/JN +- popøedí + popøedí/S +--- 88998,88999 ---- +*************** +*** 91358,91360 **** + pozabíjet/JTN +- pozadí + pozadí/S +--- 91278,91279 ---- +*************** +*** 91783,91785 **** + práceschopný/YKR +- prací + práci +--- 91702,91703 ---- +*************** +*** 92176,92178 **** + pravìký/YKR +- právem + právem/N +--- 92094,92095 ---- +*************** +*** 95377,95379 **** + prospávat/JTN +- prospìch + prospìchání/SN +--- 95294,95295 ---- +*************** +*** 105195,105197 **** + pùldenní/YR +- pùldne + pùldnech +--- 105111,105112 ---- +*************** +*** 105216,105218 **** + pùldruhý/Y +- pùle + pulec/U +--- 105131,105132 ---- +*************** +*** 106257,106259 **** + rámcový/YR +- rámì + rámec/S +--- 106171,106172 ---- +*************** +*** 109304,109306 **** + rozdìlující/YN +- rozdíl + rozdílení/SN +--- 109217,109218 ---- +*************** +*** 113029,113031 **** + Rúr/H +- Rus + rusalèí/Y +--- 112941,112942 ---- +*************** +*** 113124,113126 **** + ru¹tina/ZQ +- Rút + Rùta/PV +--- 113035,113036 ---- +*************** +*** 115104,115106 **** + scezovat/ATN +- science + science/Z +--- 115014,115015 ---- +*************** +*** 115723,115725 **** + sedmerèe/K +- sedmero + sedmero/MQ +--- 115632,115633 ---- +*************** +*** 116249,116251 **** + Sémùv/Y +- sen + senaø/PI +--- 116157,116158 ---- +*************** +*** 116962,116964 **** + se¹vindlovat/ATN +- set + setba/ZQ +--- 116869,116870 ---- +*************** +*** 117786,117788 **** + Sikùv/Y +- sil + silácký/YKRN +--- 117692,117693 ---- +*************** +*** 121635,121637 **** + spatný/YKR +- spatra + spatra/ZQ +--- 121540,121541 ---- +*************** +*** 121887,121889 **** + spí¹ +- spí¹e + spí¹e/E +--- 121791,121792 ---- +*************** +*** 122323,122325 **** + spolupráce/N +- spolupráci + spolupracích/N +--- 122226,122227 ---- +*************** +*** 122890,122892 **** + srovnanìj¹í/YRW +- srovnání + srovnání/SN +--- 122792,122793 ---- +*************** +*** 129987,129989 **** + ¹unt/H +- ¹up + ¹upácký/YKR +--- 129888,129889 ---- +*************** +*** 130427,130429 **** + takovouto +- takový + takovýchto +--- 130327,130328 ---- +*************** +*** 131190,131192 **** + tem¾ský/Y +- ten + tenata/MQ +--- 131089,131090 ---- +*************** +*** 131958,131960 **** + tichý/YKRO +- tik + tikající/YN +--- 131856,131857 ---- +*************** +*** 132541,132543 **** + Tomaschùv/Y +- Tomá¹ + Tomá¹ek/PV +--- 132438,132439 ---- +*************** +*** 133890,133892 **** + Trubská/Y +- truc + truc/H +--- 133786,133787 ---- +*************** +*** 134057,134059 **** + tøást/IN +- tøeba + tøeba/N +--- 133952,133953 ---- +*************** +*** 135024,135026 **** + tvrz/Z +- tvùj + tvùj/Y +--- 134918,134919 ---- +*************** +*** 135532,135534 **** + úèesový/YR +- úèet + úèetnický/YRN +--- 135425,135426 ---- +*************** +*** 139620,139622 **** + uzamknutí/SN +- uzamknutý + uzamknutý/YKRN +--- 139512,139513 ---- +*************** +*** 141624,141626 **** + Verdolùv/Y +- vìren + vìren/N +--- 141515,141516 ---- +*************** +*** 141651,141653 **** + vìr/N +- vìrna + vìrna/N +--- 141541,141542 ---- +*************** +*** 141663,141665 **** + Verne/Y +- vìrni + vìrni/N +--- 141552,141553 ---- +*************** +*** 141667,141669 **** + vernisá¾/Z +- vìrno + vìrno/N +--- 141555,141556 ---- +*************** +*** 141671,141676 **** + vernovka/ZQ +- vìrnu + vìrnu/N + Vernùv/Y +- vìrny + vìrny/N +--- 141558,141561 ---- +*************** +*** 141924,141926 **** + vetknutí/SN +- vetknutý + vetknutý/YKRN +--- 141809,141810 ---- +*************** +*** 142117,142119 **** + vhloubený/YKRN +- vhloubit + vhloubit/ATN +--- 142001,142002 ---- +*************** +*** 144104,144106 **** + Voldánùv/Y +- vole + volební/YR +--- 143987,143988 ---- +*************** +*** 144409,144411 **** + Votýpkùv/Y +- vous + vousáè/U +--- 144291,144292 ---- +*************** +*** 144952,144954 **** + vrtulový/YR +- vrub + vrub/H +--- 144833,144834 ---- +*************** +*** 144979,144981 **** + vrývavý/YR +- vrz + Vrzáèek/PV +--- 144859,144860 ---- +*************** +*** 151330,151332 **** + vytknutí/SN +- vytknutý + vytknutý/YRN +--- 151209,151210 ---- +*************** +*** 151927,151929 **** + vyvrhnutí/SN +- vyvrhnutý + vyvrhnutý/YKRN +--- 151805,151806 ---- +*************** +*** 152435,152437 **** + vzdìlávat/JTN +- vzdor + vzdor/H +--- 152312,152313 ---- +*************** +*** 156040,156042 **** + zamknutí/SN +- zamknutý + zamknutý/YKRN +--- 155916,155917 ---- +*************** +*** 157795,157797 **** + zastonejte/N +- zastoupení + zastoupení/SN +--- 157670,157671 ---- +*************** +*** 160364,160366 **** + zebøí/Y +- zebu + zebu/BN +--- 160238,160239 ---- +*************** +*** 166409,166411 **** + ®muï +- ¾nec + ¾nec/U +--- 166282,166283 ---- diff --git a/runtime/spell/cs/main.aap b/runtime/spell/cs/main.aap new file mode 100644 index 0000000000..5ead6d0a33 --- /dev/null +++ b/runtime/spell/cs/main.aap @@ -0,0 +1,81 @@ +# Aap recipe for Czech Vim spell files. + +# Use a freshly compiled Vim if it exists. +@if os.path.exists('../../../src/vim'): + VIM = ../../../src/vim +@else: + :progsearch VIM vim + +SPELLDIR = .. +FILES = cs_CZ.aff cs_CZ.dic + +all: $SPELLDIR/cs.iso-8859-2.spl $SPELLDIR/cs.utf-8.spl \ + $SPELLDIR/cs.cp1250.spl ../README_cs.txt + +$SPELLDIR/cs.iso-8859-2.spl : $VIM $FILES + :sys env LANG=cs_CZ.ISO8859-2 $VIM -u NONE -e -c "mkspell! $SPELLDIR/cs cs_CZ" -c q + +$SPELLDIR/cs.utf-8.spl : $VIM $FILES + :sys env LANG=cs_CZ.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/cs cs_CZ" -c q + +$SPELLDIR/cs.cp1250.spl : $VIM $FILES + :sys $VIM -u NONE -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/cs cs_CZ" -c q + +../README_cs.txt: README_cs_CZ.txt + :copy $source $target + +# +# Fetching the files from OpenOffice.org. +# +OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries +:attr {fetch = $OODIR/%file%} cs_CZ.zip + +# The files don't depend on the .zip file so that we can delete it. +# Only download the zip file if the targets don't exist. +# This is a bit tricky, since the file name includes the date. +cs_CZ.aff cs_CZ.dic: {buildcheck=} + :assertpkg unzip patch + :fetch cs_CZ.zip + :sys $UNZIP cs_CZ.zip + :delete cs_CZ.zip + @if not os.path.exists('cs_CZ.orig.aff'): + :copy cs_CZ.aff cs_CZ.orig.aff + @if not os.path.exists('cs_CZ.orig.dic'): + :copy cs_CZ.dic cs_CZ.orig.dic + @if os.path.exists('cs_CZ.diff'): + :sys patch cs_CZ.diff + :sys {force} diff -a -C 1 cs_CZ.orig.dic cs_CZ.dic >>cs_CZ.diff + + +# Check for updated OpenOffice spell files. When there are changes the +# ".new.aff" and ".new.dic" files are left behind for manual inspection. + +check: + :assertpkg unzip diff + :fetch cs_CZ.zip + :mkdir tmp + :cd tmp + @try: + @import stat + :sys $UNZIP ../cs_CZ.zip + :sys {force} diff ../cs_CZ.orig.aff cs_CZ.aff >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy cs_CZ.aff ../cs_CZ.new.aff + :sys {force} diff ../cs_CZ.orig.dic cs_CZ.dic >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy cs_CZ.dic ../cs_CZ.new.dic + @finally: + :cd .. + :delete {r}{f}{q} tmp + :delete cs_CZ.zip + + +# vim: set sts=4 sw=4 : diff --git a/runtime/spell/da/main.aap b/runtime/spell/da/main.aap new file mode 100644 index 0000000000..53e3716483 --- /dev/null +++ b/runtime/spell/da/main.aap @@ -0,0 +1,78 @@ +# Aap recipe for French Vim spell files. + +# Use a freshly compiled Vim if it exists. +@if os.path.exists('../../../src/vim'): + VIM = ../../../src/vim +@else: + :progsearch VIM vim + +SPELLDIR = .. +FILES = da_DK.aff da_DK.dic + +all: $SPELLDIR/da.latin1.spl $SPELLDIR/da.utf-8.spl ../README_da.txt + +$SPELLDIR/da.latin1.spl : $VIM $FILES + :sys env LANG=da_DK.ISO8859-1 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/da da_DK" -c q + +$SPELLDIR/da.utf-8.spl : $VIM $FILES + :sys env LANG=da_DK.UTF-8 + $VIM -u NONE -e -c "mkspell! $SPELLDIR/da da_DK" -c q + +../README_da.txt : README Copyright + :cat $source >! $target + +# +# Fetching the files from OpenOffice.org. +# +OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries +:attr {fetch = $OODIR/%file%} da_DK.zip + +# The files don't depend on the .zip file so that we can delete it. +# Only download the zip file if the targets don't exist. +da_DK.aff da_DK.dic: {buildcheck=} + :assertpkg unzip patch + :fetch da_DK.zip + :sys $UNZIP da_DK.zip + :delete da_DK.zip + @if not os.path.exists('da_DK.orig.aff'): + :copy da_DK.aff da_DK.orig.aff + @if not os.path.exists('da_DK.orig.dic'): + :copy da_DK.dic da_DK.orig.dic + @if os.path.exists('da_DK.diff'): + :sys patch da_DK.diff + :sys {force} diff -a -C 1 da_DK.orig.dic da_DK.dic >>da_DK.diff + + +# Check for updated OpenOffice spell files. When there are changes the +# ".new.aff" and ".new.dic" files are left behind for manual inspection. + +check: + :assertpkg unzip diff + :fetch da_DK.zip + :mkdir tmp + :cd tmp + @try: + @import stat + :sys $UNZIP ../da_DK.zip + :sys {force} diff ../da_DK.orig.aff da_DK.aff >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy da_DK.aff ../da_DK.new.aff + :sys {force} diff ../da_DK.orig.dic da_DK.dic >d + @if os.stat('d')[stat.ST_SIZE] > 0: + :copy da_DK.dic ../da_DK.new.dic + @finally: + :cd .. + :delete {r}{f}{q} tmp + :delete da_DK.zip + + +# vim: set sts=4 sw=4 : diff --git a/runtime/spell/de/de_19.diff b/runtime/spell/de/de_19.diff new file mode 100644 index 0000000000..a807a8b166 --- /dev/null +++ b/runtime/spell/de/de_19.diff @@ -0,0 +1,27 @@ +*** de_19.orig.aff Mon Aug 15 22:45:35 2005 +--- de_19.aff Mon Aug 15 22:54:10 2005 +*************** +*** 3,4 **** +--- 3,24 ---- + ++ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ ++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ ++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? ++ ++ MIDWORD ' ++ ++ MAP 9 ++ MAP aàáâãäå ++ MAP eèéêë ++ MAP iìíîï ++ MAP oòóôõö ++ MAP uùúûü ++ MAP nñ ++ MAP cç ++ MAP yÿý ++ MAP sß ++ + diff --git a/runtime/spell/de/de_20.diff b/runtime/spell/de/de_20.diff new file mode 100644 index 0000000000..432ad5fd97 --- /dev/null +++ b/runtime/spell/de/de_20.diff @@ -0,0 +1,28 @@ +*** de_20.orig.aff Mon Aug 15 22:45:41 2005 +--- de_20.aff Mon Aug 15 22:54:16 2005 +*************** +*** 2,3 **** +--- 2,24 ---- + TRY esianrtolcdugmphbyfvkwäüößáéêàâñESIANRTOLCDUGMPHBYFVKWÄÜÖ ++ ++ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ ++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ ++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? ++ ++ MIDWORD ' ++ ++ MAP 9 ++ MAP aàáâãäå ++ MAP eèéêë ++ MAP iìíîï ++ MAP oòóôõö ++ MAP uùúûü ++ MAP nñ ++ MAP cç ++ MAP yÿý ++ MAP sß ++ + # diff --git a/runtime/spell/de/de_AT.diff b/runtime/spell/de/de_AT.diff new file mode 100644 index 0000000000..e13e4d5d35 --- /dev/null +++ b/runtime/spell/de/de_AT.diff @@ -0,0 +1,44 @@ +*** de_AT.orig.aff Mon Aug 15 22:59:43 2005 +--- de_AT.aff Mon Aug 15 23:00:25 2005 +*************** +*** 3,4 **** +--- 3,24 ---- + ++ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ ++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ ++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? ++ ++ MIDWORD ' ++ ++ MAP 9 ++ MAP aàáâãäå ++ MAP eèéêë ++ MAP iìíîï ++ MAP oòóôõö ++ MAP uùúûü ++ MAP nñ ++ MAP cç ++ MAP yÿý ++ MAP sß ++ + +*** de_AT.orig.dic Mon Aug 15 22:59:43 2005 +--- de_AT.dic Mon Aug 15 23:03:19 2005 +*************** +*** 18,20 **** + Fleischbänke/N +- Fleischbank + Fleischhauer/NS +--- 18,19 ---- +*************** +*** 151,153 **** + zulieb +! 77857 + Äbte/N +--- 150,152 ---- + zulieb +! + Äbte/N diff --git a/runtime/spell/de/de_CH.diff b/runtime/spell/de/de_CH.diff new file mode 100644 index 0000000000..607f874089 --- /dev/null +++ b/runtime/spell/de/de_CH.diff @@ -0,0 +1,27 @@ +*** de_CH.orig.aff Mon Aug 15 22:45:43 2005 +--- de_CH.aff Mon Aug 15 22:54:21 2005 +*************** +*** 3,4 **** +--- 3,24 ---- + ++ FOL àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ LOW àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿ ++ UPP ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßÿ ++ ++ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþßÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ¿ ++ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? ++ ++ MIDWORD ' ++ ++ MAP 9 ++ MAP aàáâãäå ++ MAP eèéêë ++ MAP iìíîï ++ MAP oòóôõö ++ MAP uùúûü ++ MAP nñ ++ MAP cç ++ MAP yÿý ++ MAP sß ++ + diff --git a/runtime/spell/de/de_DE.diff b/runtime/spell/de/de_DE.diff index 0d395e85a5..fe33b41b86 100644 --- a/runtime/spell/de/de_DE.diff +++ b/runtime/spell/de/de_DE.diff @@ -1,5 +1,5 @@ -*** de_DE.orig.aff Fri Feb 25 12:50:10 2005 ---- de_DE.aff Sun Jul 31 22:15:49 2005 +*** de_DE.orig.aff Mon Aug 15 22:45:33 2005 +--- de_DE.aff Mon Aug 15 22:45:33 2005 *************** *** 2,3 **** --- 2,24 ---- diff --git a/runtime/spell/de/main.aap b/runtime/spell/de/main.aap index 80bfcea9b6..df608e1b7f 100644 --- a/runtime/spell/de/main.aap +++ b/runtime/spell/de/main.aap @@ -1,4 +1,13 @@ # Aap recipe for German Vim spell files. +# +# Since there is a big discussion about whether to use the old or the new +# spelling rules, both have been included. +# "de": all possible words allowed +# "de_de": old and new German spelling +# "de_19": old German spelling +# "de_20": new German spelling +# "de_AT": Austrian spelling +# "de_CH": Swiss spelling # Use a freshly compiled Vim if it exists. @if os.path.exists('../../../src/vim'): @@ -6,66 +15,170 @@ @else: :progsearch VIM vim -SPELLDIR = .. -FILES = de_DE.aff de_DE.dic -ZIPFILE = de_DE_comb.zip +REGIONS = DE 19 20 AT CH +DE_REGIONS = de_$*REGIONS + +SPELLDIR = .. +FILES = de_$*(REGIONS).aff de_$*(REGIONS).dic + +ZIPFILE_DE = de_DE_comb.zip +ZIPFILE_19 = de_DE.zip +ZIPFILE_20 = de_DE_neu.zip +ZIPFILE_AT = de_AT.zip +ZIPFILE_CH = de_CH.zip +ZIPFILES = $ZIPFILE_DE $ZIPFILE_19 $ZIPFILE_20 $ZIPFILE_AT $ZIPFILE_CH + +READMES = README_de_$*(REGIONS).txt -all: $(SPELLDIR)/de.latin1.spl $(SPELLDIR)/de.utf-8.spl ../README_de.txt +all: $SPELLDIR/de.latin1.spl $SPELLDIR/de.utf-8.spl ../README_de.txt -$(SPELLDIR)/de.latin1.spl : $(VIM) $(FILES) +$SPELLDIR/de.latin1.spl : $VIM $FILES :sys env LANG=de_DE.ISO8859-1 - $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q + $VIM -u NONE -e -c "mkspell! $SPELLDIR/de $DE_REGIONS" -c q -$(SPELLDIR)/de.utf-8.spl : $(VIM) $(FILES) +$SPELLDIR/de.utf-8.spl : $VIM $FILES :sys env LANG=de_DE.UTF-8 - $(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q - -../README_de.txt: README_de_DE_comb.txt - :copy $source $target + $VIM -u NONE -e -c "mkspell! $SPELLDIR/de $DE_REGIONS" -c q + +../README_de.txt: $READMES + :print de_DE (combined) >! $target + :cat README_de_DE.txt >> $target + :print =================================================== >>$target + :print de_19 (old) >> $target + :cat README_de_19.txt >> $target + :print =================================================== >>$target + :print de_20 (new) >> $target + :cat README_de_20.txt >> $target + :print =================================================== >>$target + :print de_AT (Austria) >> $target + :cat README_de_AT.txt >> $target + :print =