Compare commits

...

57 Commits

Author SHA1 Message Date
Bram Moolenaar
6efa2b30f4 updated for version 7.0145 2005-09-10 19:26:26 +00:00
Bram Moolenaar
dcca87b394 updated for version 7.0145 2005-09-10 19:24:59 +00:00
Bram Moolenaar
578b49e4f7 updated for version 7.0145 2005-09-10 19:22:57 +00:00
Bram Moolenaar
32330d3c67 updated for version 7.0145 2005-09-10 19:16:33 +00:00
Bram Moolenaar
d43b6cf7de updated for version 7.0144 2005-09-09 19:53:42 +00:00
Bram Moolenaar
a4a0838802 updated for version 7.0144 2005-09-09 19:52:02 +00:00
Bram Moolenaar
e7eb9df59a updated for version 7.0144 2005-09-09 19:49:30 +00:00
Bram Moolenaar
a5373faa17 updated for version 7.0144 2005-09-09 19:47:12 +00:00
Bram Moolenaar
7ca3043e1e updated for version 7.0144 2005-09-09 19:44:31 +00:00
Bram Moolenaar
7bb4c6e3f6 updated for version 7.0143 2005-09-07 21:22:27 +00:00
Bram Moolenaar
caa0fcfa6b updated for version 7.0143 2005-09-07 21:21:14 +00:00
Bram Moolenaar
4615234489 updated for version 7.0143 2005-09-07 21:18:43 +00:00
Bram Moolenaar
ffb8ab0402 updated for version 7.0143 2005-09-07 21:15:32 +00:00
Bram Moolenaar
d1231f991a updated for version 7.0143 2005-09-07 21:12:33 +00:00
Bram Moolenaar
cafda4f893 updated for version 7.0142 2005-09-06 19:25:11 +00:00
Bram Moolenaar
4440382f3c updated for version 7.0142 2005-09-06 19:13:27 +00:00
Bram Moolenaar
dd2436f352 updated for version 7.0141 2005-09-05 22:14:46 +00:00
Bram Moolenaar
92d640fad1 updated for version 7.0141 2005-09-05 22:11:52 +00:00
Bram Moolenaar
8b96d64cb5 updated for version 7.0141 2005-09-05 22:05:30 +00:00
Bram Moolenaar
e344bead3e updated for version 7.0140 2005-09-01 20:46:49 +00:00
Bram Moolenaar
da2303d96b updated for version 7.0139 2005-08-30 21:55:26 +00:00
Bram Moolenaar
ac6e65f88d updated for version 7.0138 2005-08-29 22:25:38 +00:00
Bram Moolenaar
81f1ecbc4d updated for version 7.0137 2005-08-25 21:27:31 +00:00
Bram Moolenaar
955295684b updated for version 7.0137 2005-08-25 21:21:38 +00:00
Bram Moolenaar
6e7c7f3a19 updated for version 7.0136 2005-08-24 22:16:11 +00:00
Bram Moolenaar
5bcb2eba3d updated for version 7.0136 2005-08-24 22:09:56 +00:00
Bram Moolenaar
6de6853ce3 updated for version 7.0136 2005-08-24 22:08:48 +00:00
Bram Moolenaar
a2036d2b48 updated for version 7.0135 2005-08-23 21:04:20 +00:00
Bram Moolenaar
6f16eb817b updated for version 7.0135 2005-08-23 21:02:42 +00:00
Bram Moolenaar
7862282f2e updated for version 7.0135 2005-08-23 21:00:13 +00:00
Bram Moolenaar
a6c840d7d4 updated for version 7.0134 2005-08-22 22:59:46 +00:00
Bram Moolenaar
e52325c254 updated for version 7.0134 2005-08-22 22:54:29 +00:00
Bram Moolenaar
d52d9741ee updated for version 7.0133 2005-08-21 22:20:28 +00:00
Bram Moolenaar
90915b5d48 updated for version 7.0133 2005-08-21 22:17:52 +00:00
Bram Moolenaar
50c8195012 updated for version 7.0133 2005-08-21 22:14:09 +00:00
Bram Moolenaar
cee5560a4b updated for version 7.0133 2005-08-21 22:12:59 +00:00
Bram Moolenaar
d12a132603 updated for version 7.0133 2005-08-21 22:08:24 +00:00
Bram Moolenaar
8aff23a13e updated for version 7.0132 2005-08-19 20:40:30 +00:00
Bram Moolenaar
5195e45609 updated for version 7.0132 2005-08-19 20:32:47 +00:00
Bram Moolenaar
5b8d8fdb52 updated for version 7.0131 2005-08-16 23:01:50 +00:00
Bram Moolenaar
ae5bce1c12 updated for version 7.0130 2005-08-15 21:41:48 +00:00
Bram Moolenaar
90cfdbe040 updated for version 7.0129 2005-08-12 19:59:19 +00:00
Bram Moolenaar
e5b8e3d3c6 updated for version 7.0129 2005-08-12 19:48:49 +00:00
Bram Moolenaar
8c45cdf4cf updated for version 7.0128 2005-08-11 20:11:38 +00:00
Bram Moolenaar
488c6512d9 updated for version 7.0128 2005-08-11 20:09:58 +00:00
Bram Moolenaar
8b1e71fa25 updated for version 7.0128 2005-08-11 20:00:37 +00:00
Bram Moolenaar
8b59de9f2f updated for version 7.0128 2005-08-11 19:59:29 +00:00
Bram Moolenaar
0fa313a718 updated for version 7.0127 2005-08-10 21:07:57 +00:00
Bram Moolenaar
c388fbf9d9 updated for version 7.0126 2005-08-10 08:16:23 +00:00
Bram Moolenaar
670f9312cc updated for version 7.0126 2005-08-10 08:15:00 +00:00
Bram Moolenaar
aba2f487ff updated for version 7.0126 2005-08-10 07:57:38 +00:00
Bram Moolenaar
4f574c8ab1 updated for version 7.0126 2005-08-10 07:56:18 +00:00
Bram Moolenaar
329cc7e429 updated for version 7.0126 2005-08-10 07:51:35 +00:00
Bram Moolenaar
8af244281c updated for version 7.0125 2005-08-08 22:06:28 +00:00
Bram Moolenaar
f57907ec2c updated for version 7.0125 2005-08-08 22:02:16 +00:00
Bram Moolenaar
f6cf987574 updated for version 7.0125 2005-08-08 22:00:59 +00:00
Bram Moolenaar
648120b750 updated for version 7.0125 2005-08-08 21:57:35 +00:00
270 changed files with 23434 additions and 4074 deletions

View File

@@ -377,6 +377,7 @@ SRC_MAC = \
src/os_mac.pbproj/project.pbxproj \
src/proto/gui_mac.pro \
src/proto/os_mac.pro \
src/proto/os_mac_conv.pro \
# source files for VMS (in the extra archive)
SRC_VMS = \
@@ -688,7 +689,10 @@ LANG_GEN = \
runtime/spell/README.txt \
runtime/spell/??/*.diff \
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

@@ -4,3 +4,6 @@ These are functions used by plugins and for general use. They will be loaded
automatically when the function is invoked. See ":help autoload".
gzip.vim for editing compressed files
Occult completion files:
ccomplete.vim C

View File

@@ -0,0 +1,197 @@
" Vim completion script
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2005 Sep 10
" This function is used for the 'occultfunc' option.
function! ccomplete#Complete(findstart, base)
if a:findstart
" Locate the start of the item, including "." and "->".
let line = getline('.')
let start = col('.') - 1
while start > 0
if line[start - 1] =~ '\w\|\.'
let start -= 1
elseif start > 1 && line[start - 2] == '-' && line[start - 1] == '>'
let start -= 2
else
break
endif
endwhile
return start
endif
" Return list of matches.
" Split item in words, keep empty word after "." or "->".
" "aa" -> ['aa'], "aa." -> ['aa', ''], "aa.bb" -> ['aa', 'bb'], etc.
let items = split(a:base, '\.\|->', 1)
if len(items) <= 1
" Only one part, no "." or "->": complete from tags file.
" When local completion is wanted CTRL-N would have been used.
return map(taglist('^' . a:base), 'v:val["name"]')
endif
" Find the variable items[0].
" 1. in current function (like with "gd")
" 2. in tags file(s) (like with ":tag")
" 3. in current file (like with "gD")
let res = []
if searchdecl(items[0]) == 0
" Found, now figure out the type.
" TODO: join previous line if it makes sense
let line = getline('.')
let col = col('.')
let res = ccomplete#Nextitem(strpart(line, 0, col), items[1:])
endif
if len(res) == 0
" Find the variable in the tags file(s)
let diclist = taglist('^' . items[0] . '$')
let res = []
for i in range(len(diclist))
" New ctags has the "typename" field.
if has_key(diclist[i], 'typename')
call extend(res, ccomplete#StructMembers(diclist[i]['typename'], items[1:]))
endif
" For a variable use the command, which must be a search pattern that
" shows the declaration of the variable.
if diclist[i]['kind'] == 'v'
let line = diclist[i]['cmd']
if line[0] == '/' && line[1] == '^'
let col = match(line, items[0])
call extend(res, ccomplete#Nextitem(strpart(line, 2, col - 2), items[1:])
endif
endif
endfor
endif
if len(res) == 0 && searchdecl(items[0], 1) == 0
" Found, now figure out the type.
" TODO: join previous line if it makes sense
let line = getline('.')
let col = col('.')
let res = ccomplete#Nextitem(strpart(line, 0, col), items[1:])
endif
" The basetext is up to the last "." or "->" and won't be changed. The
" matching members are concatenated to this.
let basetext = matchstr(a:base, '.*\(\.\|->\)')
return map(res, 'basetext . v:val')
endfunc
" Find composing type in "lead" and match items[0] with it.
" Repeat this recursively for items[1], if it's there.
" Return the list of matches.
function! ccomplete#Nextitem(lead, items)
" Use the text up to the variable name and split it in tokens.
let tokens = split(a:lead, '\s\+\|\<')
" Try to recognize the type of the variable. This is rough guessing...
let res = []
for tidx in range(len(tokens))
" Recognize "struct foobar" and "union foobar".
if (tokens[tidx] == 'struct' || tokens[tidx] == 'union') && tidx + 1 < len(tokens)
let res = ccomplete#StructMembers(tokens[tidx] . ':' . tokens[tidx + 1], a:items)
break
endif
" TODO: add more reserved words
if index(['int', 'float', 'static', 'unsigned', 'extern'], tokens[tidx]) >= 0
continue
endif
" Use the tags file to find out if this is a typedef.
let diclist = taglist('^' . tokens[tidx] . '$')
for i in range(len(diclist))
" New ctags has the "typename" field.
if has_key(diclist[i], 'typename')
call extend(res, ccomplete#StructMembers(diclist[i]['typename'], a:items))
continue
endif
" For old ctags we only recognize "typedef struct foobar" in the tags
" file command.
let cmd = diclist[i]['cmd']
let ci = matchend(cmd, 'typedef\s\+struct\s\+')
if ci > 1
let name = matchstr(cmd, '\w*', ci)
call extend(res, ccomplete#StructMembers('struct:' . name, a:items))
endif
endfor
if len(res) > 0
break
endif
endfor
return res
endfunction
" Return a list with resulting matches
function! ccomplete#StructMembers(typename, items)
" Todo: What about local structures?
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
if fnames == ''
return [[], []]
endif
let typename = a:typename
let qflist = []
while 1
exe 'silent! vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames
let qflist = getqflist()
if len(qflist) > 0 || match(typename, "::") < 0
break
endif
" No match for "struct:context::name", remove "context::" and try again.
let typename = substitute(typename, ':[^:]*::', ':', '')
endwhile
let members = []
let taglines = []
for l in qflist
let memb = matchstr(l['text'], '[^\t]*')
if memb =~ '^' . a:items[0]
call add(members, memb)
call add(taglines, l['text'])
endif
endfor
if len(members) > 0
" No further items, return the result.
if len(a:items) == 1
return members
endif
" More items following. For each of the possible members find the
" matching following members.
let res = []
for i in range(len(members))
let line = taglines[i]
let e = matchend(line, '\ttypename:')
if e > 0
" Use typename field
let name = matchstr(line, '[^\t]*', e)
call extend(res, ccomplete#StructMembers(name, a:items[1:]))
else
let s = match(line, '\t\zs/^')
if s > 0
let e = match(line, members[i], s)
if e > 0
call extend(res, ccomplete#Nextitem(strpart(line, s, e - s), a:items[1:]))
endif
endif
endif
endfor
return res
endif
" Failed to find anything.
return []
endfunction

File diff suppressed because it is too large Load Diff

View File

@@ -19,6 +19,7 @@ DOCS = \
change.txt \
cmdline.txt \
debugger.txt \
debug.txt \
develop.txt \
diff.txt \
digraph.txt \
@@ -139,6 +140,7 @@ HTMLS = \
autocmd.html \
change.html \
cmdline.html \
debug.html \
debugger.html \
develop.html \
diff.html \

View File

@@ -155,6 +155,17 @@ argument behavior differs from that for defining and removing autocommands.
In order to list buffer-local autocommands, use a pattern in the form <buffer>
or <buffer=N>. See |autocmd-buflocal|.
*:autocmd-verbose*
When 'verbose' is non-zero, listing an autocommand will also display where it
was last defined. Example: >
:verbose autocmd BufEnter
FileExplorer BufEnter
* call s:LocalBrowse(expand("<amatch>"))
Last set from /usr/share/vim/vim-7.0/plugin/NetrwPlugin.vim
<
See |:verbose-cmd| for more information.
==============================================================================
5. Events *autocmd-events* *E215* *E216*

View File

@@ -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:

69
runtime/doc/debug.txt Normal file
View File

@@ -0,0 +1,69 @@
*debug.txt* For Vim version 7.0aa. Last change: 2005 Sep 01
VIM REFERENCE MANUAL by Bram Moolenaar
Debugging Vim *debug-vim*
This is for debugging Vim itself, when it doesn't work properly.
1. Location of a crash, using gcc and gdb |debug-gcc|
2. Windows Bug Reporting |debug-win32|
==============================================================================
1. Location of a crash, using gcc and gdb *debug-gcc*
When Vim crashes in one of the test files, and you are using gcc for
compilation, here is what you can do to find out exactly where Vim crashes.
This also applies when using the MingW tools.
1. Compile Vim with the "-g" option (there is a line in the Makefile for this,
which you can uncomment).
2. Execute these commands (replace "11" with the test that fails): >
cd testdir
gdb ../vim
run -u unix.vim -U NONE -s dotest.in test11.in
3. Check where Vim crashes, gdb should give a message for this.
4. Get a stack trace from gdb with this command: >
where
< You can check out different places in the stack trace with: >
frame 3
< Replace "3" with one of the numbers in the stack trace.
==============================================================================
2. Windows Bug Reporting *debug-win32*
If the Windows version of Vim crashes in a reproducible manner,
you can take some steps to provide a useful bug report.
First, you must obtain the debugger symbols (PDB) file for your executable:
gvim.pdb for gvim.exe, or vim.pdb for vim.exe. It should be available
from the same place that you obtained the executable. Be sure to use
the PDB that matches the EXE.
If you built the executable yourself with the Microsoft Visual C++ compiler,
then the PDB was built with the EXE.
You can download the Microsoft Visual C++ Toolkit from
http://msdn.microsoft.com/visualc/vctoolkit2003/
This contains the command-line tools, but not the Visual Studio IDE.
The Debugging Tools for Windows can be downloaded from
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
This includes the WinDbg debugger.
If you have Visual Studio, use that instead of the VC Toolkit
and WinDbg.
(No idea what to do if your binary was built with the Borland or Cygwin
compilers. Sorry.)
=========================================================================
vim:tw=78:ts=8:ft=help:norl:

View File

@@ -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 Sep 01
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
@@ -237,8 +238,8 @@ get_env_value() Linux system function
VARIOUS *style-various*
Typedef'ed names should end in "_t": >
typedef int some_t;
Typedef'ed names should end in "_T": >
typedef int some_T;
Define'ed names should be uppercase: >
#define SOME_THING
Features always start with "FEAT_": >

View File

@@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.0aa. Last change: 2005 Aug 05
*eval.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1607,6 +1607,7 @@ repeat( {expr}, {count}) String repeat {expr} {count} times
resolve( {filename}) String get filename a shortcut points to
reverse( {list}) List reverse {list} in-place
search( {pattern} [, {flags}]) Number search for {pattern}
searchdecl({name} [, {global}]) Number search for variable declaration
searchpair( {start}, {middle}, {end} [, {flags} [, {skip}]])
Number search for other end of start/end pair
server2client( {clientid}, {string})
@@ -1622,7 +1623,7 @@ simplify( {filename}) String simplify filename as much as possible
sort( {list} [, {func}]) List sort {list}, using {func} to compare
soundfold( {word}) String sound-fold {word}
spellbadword() String badly spelled word at cursor
spellsuggest({word} [, {max}]) List spelling suggestions
spellsuggest( {word} [, {max}]) List spelling suggestions
split( {expr} [, {pat} [, {keepempty}]])
List make List from {pat} separated {expr}
strftime( {format}[, {time}]) String time in specified format
@@ -1643,7 +1644,8 @@ synIDattr( {synID}, {what} [, {mode}])
String attribute {what} of syntax ID {synID}
synIDtrans( {synID}) Number translated syntax ID of {synID}
system( {expr} [, {input}]) String output of shell command/filter {expr}
taglist({expr}) List list of tags matching {expr}
taglist( {expr}) List list of tags matching {expr}
tagfiles() List tags files used
tempname() String name for a temporary file
tolower( {expr}) String the String {expr} switched to lowercase
toupper( {expr}) String the String {expr} switched to uppercase
@@ -2013,11 +2015,12 @@ cscope_connection([{num} , {dbpath} [, {prepend}]])
<
cursor({lnum}, {col}) *cursor()*
Positions the cursor at the column {col} in the line {lnum}.
The first column is one.
Does not change the jumplist.
If {lnum} is greater than the number of lines in the buffer,
the cursor will be positioned at the last line in the buffer.
If {lnum} is zero, the cursor will stay in the current line.
If {col} is greater than the number of characters in the line,
If {col} is greater than the number of bytes in the line,
the cursor will be positioned at the last character in the
line.
If {col} is zero, the cursor will stay in the current column.
@@ -2641,6 +2644,9 @@ getqflist() *getqflist()*
type type of the error, 'E', '1', etc.
valid non-zero: recognized error message
When there is no error list or it's empty an empty list is
returned.
Useful application: Find pattern matches in multiple files and
do something with them: >
:vimgrep /theword/jg *.c
@@ -2951,6 +2957,21 @@ inputdialog({prompt} [, {text} [, {cancelreturn}]]) *inputdialog()*
Hitting <Enter> works like pressing the OK button. Hitting
<Esc> works like pressing the Cancel button.
inputlist({textlist}) *inputlist()*
{textlist} must be a list of strings. This list is displayed,
one string per line. The user will be prompted to enter a
number, which is returned.
The user can also select an item by clicking on it with the
mouse. For the first string 0 is returned. When clicking
above the first item a negative number is returned. When
clicking on the prompt one more than the length of {textlist}
is returned.
Make sure {textlist} has less then 'lines' entries, otherwise
it won't work. It's a good idea to put the entry number at
the start of the string. Example: >
let color = inputlist(['Select color:', '1. red',
\ '2. green', '3. blue'])
inputrestore() *inputrestore()*
Restore typeahead that was saved with a previous inputsave().
Should be called the same number of times inputsave() is
@@ -3708,6 +3729,18 @@ search({pattern} [, {flags}]) *search()*
: let n = n + 1
:endwhile
<
searchdecl({name} [, {global}]) *searchdecl()*
Search for the declaration of {name}. Without {global} or
with a zero {global} argument this works like |gd|. With a
non-zero {global} argument it works like |gD|.
Moves the cursor to the found match.
Returns zero for success, non-zero for failure.
Example: >
if searchdecl('myvar') == 0
echo getline('.')
endif
<
*searchpair()*
searchpair({start}, {middle}, {end} [, {flags} [, {skip}]])
Search for the match of a nested start-end pair. This can be
@@ -3983,7 +4016,7 @@ soundfold({word})
*spellbadword()*
spellbadword() Return the badly spelled word under or after the cursor.
The cursor is advanced to the start of the bad word.
The cursor is moved to the start of the bad word.
When no bad word is found in the cursor line an empty String
is returned and the cursor doesn't move.
@@ -4080,12 +4113,12 @@ string({expr}) Return {expr} converted to a String. If {expr} is a Number,
*strlen()*
strlen({expr}) The result is a Number, which is the length of the String
{expr} in bytes. If you want to count the number of
multi-byte characters use something like this: >
{expr} in bytes.
If you want to count the number of multi-byte characters (not
counting composing characters) use something like this: >
:let len = strlen(substitute(str, ".", "x", "g"))
< Composing characters are not counted.
<
If the argument is a Number it is first converted to a String.
For other types an error is given.
Also see |len()|.
@@ -4281,6 +4314,10 @@ taglist({expr}) *taglist()*
located by Vim. Refer to |tags-file-format| for the format of
the tags file generated by the different ctags tools.
*tagfiles()*
tagfiles() Returns a List with the file names used to search for tags for
the current buffer. This is the 'tags' option expanded.
tempname() *tempname()* *temp-file-name*
The result is a String, which is the name of a file that
@@ -4667,7 +4704,8 @@ builtin functions. To prevent from using the same name in different scripts
avoid obvious, short names. A good habit is to start the function name with
the name of the script, e.g., "HTMLcolor()".
It's also possible to use curly braces, see |curly-braces-names|.
It's also possible to use curly braces, see |curly-braces-names|. And the
|autoload| facility is useful to define a function only when it's called.
*local-function*
A function local to a script must start with "s:". A local script function
@@ -4683,7 +4721,22 @@ instead of "s:" when the mapping is expanded outside of the script.
{name} can also be a Dictionary entry that is a
Funcref: >
:function dict.init
< *E124* *E125*
:fu[nction] /{pattern} List functions with a name matching {pattern}.
Example that lists all functions ending with "File": >
:function /File$
<
*:function-verbose*
When 'verbose' is non-zero, listing a function will also display where it was
last defined. Example: >
:verbose function SetFileTypeSH
function SetFileTypeSH(name)
Last set from /usr/share/vim/vim-7.0/filetype.vim
<
See |:verbose-cmd| for more information.
*E124* *E125*
:fu[nction][!] {name}([arguments]) [range] [abort] [dict]
Define a new function by the name {name}. The name
must be made of alphanumeric characters and '_', and

View File

@@ -1,4 +1,4 @@
*filetype.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
*filetype.txt* For Vim version 7.0aa. Last change: 2005 Aug 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -44,15 +44,21 @@ Detail: The ":filetype on" command will load one of these files:
name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
contents of the file.
To add your own file types, see |new-filetype| below.
To add your own file types, see |new-filetype| below. To search for help on a
filetype prepend "ft-" and optionally append "-syntax", "-indent" or
"-plugin". For example: >
:help ft-vim-indent
:help ft-vim-syntax
:help ft-man-plugin
If the file type is not detected automatically, or it finds the wrong type,
you can either set the 'filetype' option manually, or add a modeline to your
file. Example, for in an IDL file use the command: >
:set filetype=idl
or add this |modeline| to the file: >
/* vim: set filetype=idl : */
<
or add this |modeline| to the file:
/* vim: set filetype=idl : */ ~
*:filetype-plugin-on*
You can enable loading the plugin files for specific file types with: >
:filetype plugin on
@@ -132,16 +138,16 @@ kind of file it is. This doesn't always work. A number of global variables
can be used to overrule the filetype used for certain extensions:
file name variable ~
*.asa g:filetype_asa |aspvbs-syntax| |aspperl-syntax|
*.asp g:filetype_asp |aspvbs-syntax| |aspperl-syntax|
*.asm g:asmsyntax |asm-syntax|
*.asa g:filetype_asa |ft-aspvbs-syntax| |ft-aspperl-syntax|
*.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax|
*.asm g:asmsyntax |ft-asm-syntax|
*.prg g:filetype_prg
*.pl g:filetype_pl
*.inc g:filetype_inc
*.w g:filetype_w |cweb-syntax|
*.i g:filetype_i |progress-syntax|
*.p g:filetype_p |pascal-syntax|
*.sh g:bash_is_sh |sh-syntax|
*.w g:filetype_w |ft-cweb-syntax|
*.i g:filetype_i |ft-progress-syntax|
*.p g:filetype_p |ft-pascal-syntax|
*.sh g:bash_is_sh |ft-sh-syntax|
*filetype-ignore*
To avoid that certain files are being inspected, the g:ft_ignore_pat variable
@@ -380,7 +386,7 @@ ways to change this:
3. Docs for the default filetype plugins. *ftplugin-docs*
CHANGELOG *changelog-plugin*
CHANGELOG *ft-changelog-plugin*
Allows for easy entrance of Changelog entries in Changelog files. There are
some commands, mappings, and variables worth exploring:
@@ -401,7 +407,7 @@ Local mappings:
Global mappings:
NOTE: The global mappings are accessed by sourcing the
ftplugin/changelog.vim file first, e.g. with >
runtime ftplugin/man.vim
runtime ftplugin/changelog.vim
< in your |.vimrc|.
<Leader>o Switches to the ChangeLog buffer opened for the
current directory, or opens it in a new buffer if it
@@ -466,7 +472,7 @@ under it. If not found, a new entry and item is prepended to the beginning of
the Changelog.
FORTRAN *fortran-plugin*
FORTRAN *ft-fortran-plugin*
Options:
'expandtab' is switched on to avoid tabs as required by the Fortran
@@ -476,10 +482,10 @@ Options:
'formatoptions' is set to break code and comment lines and to preserve long
lines. You can format comments with |gq|.
For further discussion of fortran_have_tabs and the method used for the
detection of source format see |fortran-syntax|.
detection of source format see |ft-fortran-syntax|.
MAIL *mail-plugin*
MAIL *ft-mail-plugin*
Options:
'modeline' is switched off to avoid the danger of trojan horses, and to
@@ -496,7 +502,7 @@ Local mappings:
to the end of the file in Normal mode. This means "> " is inserted in
each line.
MAN *man-plugin* *:Man*
MAN *ft-man-plugin* *:Man*
Displays a manual page in a nice way. Also see the user manual
|find-manpage|.
@@ -523,7 +529,7 @@ CTRL-] Jump to the manual page for the word under the cursor.
CTRL-T Jump back to the previous manual page.
RPM SPEC *spec-plugin*
RPM SPEC *ft-spec-plugin*
Since the text for this plugin is rather long it has been put in a separate
file: |pi_spec.txt|.

View File

@@ -1,4 +1,4 @@
*fold.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
*fold.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -512,7 +512,8 @@ FOLDCOLUMN *fold-foldcolumn*
'foldcolumn' is a number, which sets the width for a column on the side of the
window to indicate folds. When it is zero, there is no foldcolumn. A normal
value is 4 or 5. The minimal useful value is 2. The maximum is 12.
value is 4 or 5. The minimal useful value is 2, although 1 still provides
some information. The maximum is 12.
An open fold is indicated with a column that has a '-' at the top and '|'
characters below it. This column stops where the open fold stops. When folds

View File

@@ -1,4 +1,4 @@
*gui.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
*gui.txt* For Vim version 7.0aa. Last change: 2005 Aug 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -79,7 +79,7 @@ All this happens AFTER the normal Vim initializations, like reading your
But the GUI window is only opened after all the initializations have been
carried out. If you want some commands to be executed just after opening the
GUI window, use the |GUIEnter| autocommand event. Example: >
:autocommand GUIEnter * winpos 100 50
:autocmd GUIEnter * winpos 100 50
You can use the gvimrc files to set up your own customized menus (see |:menu|)
and initialize other things that you may want to set up differently from the

View File

@@ -1,4 +1,4 @@
*help.txt* For Vim version 7.0aa. Last change: 2005 Mar 19
*help.txt* For Vim version 7.0aa. Last change: 2005 Sep 01
VIM - main help file
k
@@ -97,6 +97,7 @@ General subjects ~
|quotes.txt| remarks from users of Vim
|todo.txt| known problems and desired extensions
|develop.txt| development of Vim
|debug.txt| debugging Vim itself
|uganda.txt| Vim distribution conditions and what to do with your money
Basic editing ~

View File

@@ -1,4 +1,4 @@
*if_ruby.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
*if_ruby.txt* For Vim version 7.0aa. Last change: 2005 Aug 31
VIM REFERENCE MANUAL by Shugo Maeda
@@ -159,6 +159,8 @@ Methods:
buffer Returns the buffer displayed in the window.
height Returns the height of the window.
height = {n} Sets the window height to {n}.
width Returns the width of the window.
width = {n} Sets the window width to {n}.
cursor Returns a [row, col] array for the cursor position.
cursor = [{row}, {col}]
Sets the cursor position to {row} and {col}.

View File

@@ -1,4 +1,4 @@
*indent.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
*indent.txt* For Vim version 7.0aa. Last change: 2005 Aug 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -449,7 +449,7 @@ $VIMRUNTIME/indent directory for examples.
REMARKS ABOUT SPECIFIC INDENT FILES ~
FORTRAN *fortran-indent*
FORTRAN *ft-fortran-indent*
Block if, select case, and where constructs are indented. Comments, labelled
statements and continuation lines are indented if the Fortran is in free
@@ -457,7 +457,7 @@ source form, whereas they are not indented if the Fortran is in fixed source
form because of the left margin requirements. Hence manual indent corrections
will be necessary for labelled statements and continuation lines when fixed
source form is being used. For further discussion of the method used for the
detection of source format see |fortran-syntax|.
detection of source format see |ft-fortran-syntax|.
Do loops ~
All do loops are left unindented by default. Do loops can be unstructured in
@@ -485,7 +485,7 @@ to get do loops indented in .f90 files and left alone in Fortran files with
other extensions such as .for.
PYTHON *python-indent*
PYTHON *ft-python-indent*
The amount of indent can be set for the following situations. The examples
given are de the defaults. Note that the variables are set to an expression,
@@ -499,7 +499,7 @@ Indent for a continuation line: >
let g:pyindent_continue = '&sw * 2'
VERILOG *verilog-indent*
VERILOG *ft-verilog-indent*
General block statements such as if, for, case, always, initial, function,
specify and begin, etc., are indented. The module block statements (first
@@ -534,7 +534,7 @@ In addition, you can turn the verbose mode for debug issue: >
Make sure to do ":set cmdheight=2" first to allow the display of the message.
VIM *vim-indent*
VIM *ft-vim-indent*
For indenting Vim scripts there is one variable that specifies the amount of
indent for a continuation line, a line that starts with a backslash: >

View File

@@ -1,4 +1,4 @@
*index.txt* For Vim version 7.0aa. Last change: 2005 Jul 29
*index.txt* For Vim version 7.0aa. Last change: 2005 Aug 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -152,11 +152,13 @@ commands in CTRL-X submode *i_CTRL-X_index*
|i_CTRL-X_CTRL-N| CTRL-X CTRL-N next completion
|i_CTRL-X_CTRL-O| CTRL-X CTRL-O occult completion
|i_CTRL-X_CTRL-P| CTRL-X CTRL-P previous completion
|i_CTRL-X_CTRL-S| CTRL-X CTRL-S spelling suggestions
|i_CTRL-X_CTRL-T| CTRL-X CTRL-T complete identifiers from thesaurus
|i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
|i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|i_CTRL-X_s| CTRL-X s spelling suggestions
{not available when compiled without the +insert_expand feature}
==============================================================================

View File

@@ -1,4 +1,4 @@
*insert.txt* For Vim version 7.0aa. Last change: 2005 Aug 01
*insert.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -354,6 +354,8 @@ CTRL-G CTRL-J cursor one line down, insert start column *i_CTRL-G_CTRL-J*
<MouseUp> scroll three lines up *i_<MouseUp>*
<S-MouseUp> scroll a full page up *i_<S-MouseUp>*
CTRL-O execute one command, return to Insert mode *i_CTRL-O*
CTRL-\ CTRL-O like CTRL-O but don't move the cursor *i_CTRL-\_CTRL-O*
CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L*
CTRL-G u break undo sequence, start new change *i_CTRL-G_u*
-----------------------------------------------------------------------
@@ -363,7 +365,8 @@ option.
The CTRL-O command sometimes has a side effect: If the cursor was beyond the
end of the line, it will be put on the last character in the line. In
mappings it's often better to use <Esc> (first put an "x" in the text, <Esc>
will then always put the cursor on it).
will then always put the cursor on it). Or use CTRL-\ CTRL-O, but then
beware of the cursor possibly being beyond the end of the line.
The shifted cursor keys are not available on all terminals.
@@ -567,7 +570,8 @@ Completion can be done for:
9. Vim command-line |i_CTRL-X_CTRL-V|
10. User defined completion |i_CTRL-X_CTRL-U|
11. Occult completion |i_CTRL-X_CTRL-O|
12. keywords in 'complete' |i_CTRL-N|
12. Spelling suggestions |i_CTRL-X_s|
13. keywords in 'complete' |i_CTRL-N|
All these (except 2) are done in CTRL-X mode. This is a sub-mode of Insert
and Replace modes. You enter CTRL-X mode by typing CTRL-X and one of the
@@ -864,8 +868,8 @@ CTRL-X CTRL-V Guess what kind of item is in front of the cursor and
User defined completion *compl-function*
Completion is done by a function that can be defined by the user with the
'completefunc' option. See the option for how the function is called and an
example.
'completefunc' option. See the 'completefunc' help for how the function
is called and an example.
*i_CTRL-X_CTRL-U*
CTRL-X CTRL-U Guess what kind of item is in front of the cursor and
@@ -880,7 +884,11 @@ CTRL-X CTRL-U Guess what kind of item is in front of the cursor and
Occult completion *compl-occult*
Completion is done by a supernatural being.
Completion is done by a function that can be defined by the user with the
'occultfunc' option. This is to be used for filetype-specific completion.
See the 'completefunc' help for how the function is called and an example.
For remarks about specific filetypes see |compl-occult-filetypes|.
*i_CTRL-X_CTRL-O*
CTRL-X CTRL-O Guess what kind of item is in front of the cursor and
@@ -893,6 +901,28 @@ CTRL-X CTRL-O Guess what kind of item is in front of the cursor and
previous one.
Spelling suggestions *compl-spelling*
A word before or at the cursor is located and correctly spelled words are
suggested to replace it. If there is a badly spelled word in the line, before
or under the cursor, the cursor is moved to after it. Otherwise the word just
before the cursor is used for suggestions, even though it isn't badly spelled.
NOTE: CTRL-S suspends display in many Unix terminals. Use 's' instead. Type
CTRL-Q to resume displaying.
*i_CTRL-X_CTRL-S* *i_CTRL-X_s*
CTRL-X CTRL-S or
CTRL-X s Locate the word in front of the cursor and find the
first spell suggestion for it.
CTRL-S or
CTRL-N Use the next suggestion. This replaces the previous
one. Note that you can't use 's' here.
CTRL-P Use the previous suggestion. This replaces the
previous one.
Completing keywords from different sources *compl-generic*
*i_CTRL-N*
@@ -918,6 +948,37 @@ CTRL-P Find previous match for words that start with the
copy the words following the previous expansion in
other contexts unless a double CTRL-X is used.
Filetype-specific remarks for occult completion *compl-occult-filetypes*
C *ft-c-occult*
Completion requires a tags file. You should use Exuberant ctags, because it
adds extra information that is needed for completion. You can find it here:
http://ctags.sourceforge.net/
For version 5.5.4 you need to add a patch that adds the "typename:" field:
ftp://ftp.vim.org/pub/vim/unstable/patches/ctags-5.5.4.patch
If you want to complete system functions you can do something like this. Use
ctags to generate a tags file for all the system header files: >
% ctags -R -f ~/.vim/systags /usr/include /usr/local/include
In your vimrc file add this tags file to the 'tags' option: >
set tags+=~/.vim/systags
When using CTRL-X CTRL-O after a name without any "." or "->" it is completed
from the tags file directly. This works for any identifier, also function
names. If you want to complete a local variable name, which does not appear
in the tags file, use CTRL-P instead.
When using CTRL-X CTRL-O after something that has "." or "->" Vim will attempt
to recognize the type of the variable and figure out what members it has.
This means only members valid for the variable will be listed.
Vim doesn't include a C compiler, only the most obviously formatted
declarations are recognized. Preprocessor stuff may cause confusion.
When the same structure name appears in multiple places all possible members
are included.
==============================================================================
8. Insert mode commands *inserting*

View File

@@ -1,4 +1,4 @@
*intro.txt* For Vim version 7.0aa. Last change: 2005 Jun 12
*intro.txt* For Vim version 7.0aa. Last change: 2005 Sep 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -151,31 +151,19 @@ example and try to find out which settings or other things influence the
appearance of the bug. Try different machines, if possible. Send me patches
if you can!
In case of doubt, use: >
It will help to include information about the version of Vim you are using and
your setup. You can get the information with this command: >
:so $VIMRUNTIME/bugreport.vim
This will create a file "bugreport.txt" in the current directory, with a lot
of information of your environment. Before sending this out, check if it
doesn't contain any confidential information!
*debug-vim*
When Vim crashes in one of the test files, and you are using gcc for
compilation, here is what you can do to find out exactly where Vim crashes:
If Vim crashes, please try to find out where. You can find help on this here:
|debug.txt|.
1. Compile Vim with the "-g" option (there is a line in the Makefile for this,
which you can uncomment).
2. Execute these commands (replace "11" with the test that fails): >
cd testdir
gdb ../vim
run -u unix.vim -U NONE -s dotest.in test11.in
3. Check where Vim crashes, gdb should give a message for this.
4. Get a stack trace from gdb with this command: >
where
< You can check out different places in the stack trace with: >
frame 3
< Replace "3" with one of the numbers in the stack trace.
In case of doubt or when you wonder if the problem has already been fixed but
you can't find a fix for it, become a member of the vim-dev maillist and ask
your question there. |maillist|
*year-2000* *Y2K*
Since Vim internally doesn't use dates for editing, there is no year 2000

View File

@@ -1,4 +1,4 @@
*map.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
*map.txt* For Vim version 7.0aa. Last change: 2005 Aug 16
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -273,6 +273,16 @@ 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 <C-W>*
n <C-W>* * <C-W><C-S>*
Last set from /home/abcd/.vimrc
See |:verbose-cmd| for more information.
*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
@@ -656,6 +666,16 @@ used in a |filetype-plugin| file. Example for a C plugin file: >
mode, '!' for both. These are the same as for
mappings, see |map-listing|.
*:abbreviate-verbose*
When 'verbose' is non-zero, listing an abbreviation will also display where it
was last defined. Example: >
:verbose abbreviate
! teh the
Last set from /home/abcd/vim/abbr.vim
See |:verbose-cmd| for more information.
:ab[breviate] {lhs} list the abbreviations that start with {lhs}
You may need to insert a CTRL-V (type it twice) to
avoid that a typed {lhs} is expanded, since
@@ -855,6 +875,17 @@ scripts.
:com[mand] {cmd} List the user-defined commands that start with {cmd}
*:command-verbose*
When 'verbose' is non-zero, listing a command will also display where it was
last defined. Example: >
:verbose command TOhtml
Name Args Range Complete Definition
TOhtml 0 % :call Convert2HTML(<line1>, <line2>)
Last set from /usr/share/vim/vim-7.0/plugin/tohtml.vim
<
See |:verbose-cmd| for more information.
*E174* *E182*
:com[mand][!] [{attr}...] {cmd} {rep}
Define a user command. The name of the command is
@@ -1056,8 +1087,7 @@ To allow commands to pass their arguments on to a user-defined function, there
is a special form <f-args> ("function args"). This splits the command
arguments at spaces and Tabs, quotes each argument individually, and the
<f-args> sequence is replaced by the comma-separated list of quoted arguments.
See the Mycmd example below. When there is no argument, <f-args> also has no
argument.
See the Mycmd example below. If no arguments are given <f-args> is removed.
Examples >

View File

@@ -1,4 +1,4 @@
*options.txt* For Vim version 7.0aa. Last change: 2005 Aug 05
*options.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -560,12 +560,20 @@ is entered, this is almost like having global options. If 's' and 'S' are not
present, the options are copied from the currently active buffer when the
buffer is created.
Not all options are supported in all versions. To test if option "foo" can be
used with ":set" use "exists('&foo')". This doesn't mean the value is
actually remembered and works. Some options are hidden, which means that you
can set them but the value is not remembered. To test if option "foo" is
really supported use "exists('+foo')".
Hidden options *hidden-options*
Not all options are supported in all versions. This depends on the supported
features and sometimes on the system. A remark about this is in curly braces
below. When an option is not supported it may still be set without getting an
error, this is called a hidden option. You can't get the value of a hidden
option though, it is not stored.
To test if option "foo" can be used with ":set" use something like this: >
if exists('&foo')
This also returns true for a hidden option. To test if option "foo" is really
supported use something like this: >
if exists('+foo')
<
*E355*
A jump table for the options with a short description can be found at |Q_op|.
@@ -1100,7 +1108,8 @@ A jump table for the options with a short description can be found at |Q_op|.
{not available when compiled without the |+linebreak|
feature}
This option lets you choose which characters might cause a line
break if 'linebreak' is on.
break if 'linebreak' is on. Only works for ASCII and also for 8-bit
characters when 'encoding' is an 8-bit encoding.
*'browsedir'* *'bsdir'*
'browsedir' 'bsdir' string (default: "last")
@@ -1200,9 +1209,10 @@ A jump table for the options with a short description can be found at |Q_op|.
these words, separated by a comma:
internal Use internal case mapping functions, the current
locale does not change the case mapping. This only
matters when 'encoding' is a Unicode encoding. When
"internal" is omitted, the towupper() and towlower()
system library functions are used when available.
matters when 'encoding' is a Unicode encoding,
"latin1" or "iso-8859-15". When "internal" is
omitted, the towupper() and towlower() system library
functions are used when available.
keepascii For the ASCII characters (0x00 to 0x7f) use the US
case mapping, the current locale is not effective.
This probably only matters for Turkish.
@@ -1589,23 +1599,29 @@ A jump table for the options with a short description can be found at |Q_op|.
This option specifies a function to be used for CTRL-X CTRL-U
completion. |i_CTRL-X_CTRL-U|
The function will be invoked with three arguments:
a:findstart either 1 or 0
a:col column in the cursor line where the completion ends,
first column is zero
a:base the text with which matches should match
The function will be invoked with two arguments. First the function
is called to find the start of the text to be completed. Secondly the
function is called to actually find the matches.
When the a:findstart argument is 1, the function must return the
column of where the completion starts. It must be a number between
zero and "a:col". This involves looking at the characters in the
cursor line before column a:col and include those characters that
could be part of the completed item. The text between this column and
a:col will be replaced with the matches. Return -1 if no completion
can be done.
On the first invocation the arguments are:
a:findstart 1
a:base empty
When the a:findstart argument is 0 the function must return a List
with the matching words. These matches should include the "a:base"
text. When there are no matches return an empty List.
The function must return the column of where the completion starts.
It must be a number between zero and the cursor column "col('.')".
This involves looking at the characters just before the cursor and
including those characters that could be part of the completed item.
The text between this column and the cursor column will be replaced
with the matches. Return -1 if no completion can be done.
On the second invocation the arguments are:
a:findstart 0
a:base the text with which matches should match, what was
located in the first call
The function must return a List with the matching words. These
matches usually include the "a:base" text. When there are no matches
return an empty List.
When searching for matches takes some time call |complete_add()| to
add each match to the total list. These matches should then not
@@ -1613,16 +1629,16 @@ A jump table for the options with a short description can be found at |Q_op|.
allow the user to press a key while still searching for matches. Stop
searching when it returns non-zero.
The function must not move the cursor!
The function may move the cursor, it is restored afterwards.
This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.
An example that completes the names of the months: >
fun! CompleteMonths(findstart, col, base)
fun! CompleteMonths(findstart, base)
if a:findstart
" locate the start of the word
let line = getline('.')
let start = a:col
let start = col('.') - 1
while start > 0 && line[start - 1] =~ '\a'
let start -= 1
endwhile
@@ -1641,11 +1657,11 @@ A jump table for the options with a short description can be found at |Q_op|.
set completefunc=CompleteMonths
<
The same, but now pretending searching for matches is slow: >
fun! CompleteMonths(findstart, col, base)
fun! CompleteMonths(findstart, base)
if a:findstart
" locate the start of the word
let line = getline('.')
let start = a:col
let start = col('.') - 1
while start > 0 && line[start - 1] =~ '\a'
let start -= 1
endwhile
@@ -1984,9 +2000,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%|
@@ -3732,9 +3748,9 @@ A jump table for the options with a short description can be found at |Q_op|.
- Use CTRL-O to execute one Normal mode command |i_CTRL-O|). When
this is a mapping, it is executed as if 'insertmode' was off.
Normal mode remains active until the mapping is finished.
*i_CTRL-L*
- Use CTRL-L to execute a number of Normal mode commands, then use
<Esc> to get back to Insert mode.
<Esc> to get back to Insert mode. Note that CTRL-L moves the cursor
left, like <Esc> does when 'insertmode' isn't set. |i_CTRL-L|
These items change when 'insertmode' is set:
- when starting to edit of a file, Vim goes to Insert mode.
@@ -4284,6 +4300,45 @@ A jump table for the options with a short description can be found at |Q_op|.
generated from a list of items, e.g., the Buffers menu. Changing this
option has no direct effect, the menu must be refreshed first.
*'mkspellmem'* *'msm'*
'mkspellmem' 'msm' string (default "460000,2000,500")
global
{not in Vi}
{not available when compiled without the |+syntax|
feature}
Parameters for |:mkspell|. This tunes when to start compressing the
word tree. Compression can be slow when there are many words, but
it's needed to avoid running out of memory. The amount of memory used
per word depends very much on how similar the words are, that's why
this tuning is complicated.
There are three numbers, separated by commas:
{start},{inc},{added}
For most languages the uncompressed word tree fits in memory. {start}
gives the amount of memory in Kbyte that can be used before any
compression is done. It should be a bit smaller than the amount of
memory that is available to Vim.
When going over the {start} limit the {inc} number specifies the
amount of memory in Kbyte that can be allocated before another
compression is done. A low number means compression is done after
less words are added, which is slow. A high number means more memory
will be allocated.
After doing compression, {added} times 1024 words can be added before
the {inc} limit is ignored and compression is done when any extra
amount of memory is needed. A low number means there is a smaller
chance of hitting the {inc} limit, less memory is used but it's
slower.
The languages for which these numbers are important are Italian and
Hungarian. The default works for when you have about 512 Mbyte. If
you have 1 Gbyte you could use: >
:set mkspellmem=900000,3000,800
< If you have less than 512 Mbyte |:mkspell| may fail for some
languages, no matter what you set 'mkspellmem' to.
*'modeline'* *'ml'* *'nomodeline'* *'noml'*
'modeline' 'ml' boolean (Vim default: on, Vi default: off)
local to buffer
@@ -4547,6 +4602,18 @@ A jump table for the options with a short description can be found at |Q_op|.
The minimum value is 1, the maximum value is 10.
NOTE: 'numberwidth' is reset to 8 when 'compatible' is set.
*'occultfunc'* *'ofu'*
'occultfunc' 'ofu' string (default: empty)
local to buffer
{not in Vi}
{not available when compiled without the +eval
or +insert_expand feature}
This option specifies a function to be used for CTRL-X CTRL-O
completion. |i_CTRL-X_CTRL-O|
For the use of the function see 'completefunc'.
*'osfiletype'* *'oft'* *E366*
'osfiletype' 'oft' string (RISC-OS default: "Text",
others default: "")
@@ -5696,11 +5763,13 @@ A jump table for the options with a short description can be found at |Q_op|.
feature}
Pattern to locate the end of a sentence. The following word will be
checked to start with a capital letter. If not then it is highlighted
with SpellCap |hl-SpellCap|.
with SpellCap |hl-SpellCap| (unless the word is also badly spelled).
When this check is not wanted make this option empty.
Only used when 'spell' is set.
Be careful with special characters, see |option-backslash| about
including spaces and backslashes.
To set this option automatically depending on the language, see
|set-spc-auto|.
*'spellfile'* *'spf'*
'spellfile' 'spf' string (default empty)
@@ -5747,6 +5816,7 @@ A jump table for the options with a short description can be found at |Q_op|.
region by listing them: "en_us,en_ca" supports both US and Canadian
English, but not words specific for Australia, New Zealand or Great
Britain.
*E757*
As a special case the name of a .spl file can be given as-is. The
first "_xx" in the name is removed and used as the region name
(_xx is an underscore, two letters and followed by a non-letter).
@@ -5757,6 +5827,11 @@ A jump table for the options with a short description can be found at |Q_op|.
files twice.
How the related spell files are found is explained here: |spell-load|.
After this option has been set successfully, Vim will source the files
"spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
up to the first comma, dot or underscore. See |set-spc-auto|.
*'spellsuggest'* *'sps'*
'spellsuggest' 'sps' string (default "best")
global
@@ -5782,6 +5857,11 @@ A jump table for the options with a short description can be found at |Q_op|.
character inserts/deletes/swaps. Works well for
simple typing mistakes.
{number} The maximum number of suggestions listed for |z?|.
Not used for |spellsuggest()|. The number of
suggestions is never more than the value of 'lines'
minus two.
file:{filename} Read file {filename}, which must have two columns,
separated by a slash. The first column contains the
bad word, the second column the suggested good word.
@@ -6203,6 +6283,8 @@ A jump table for the options with a short description can be found at |Q_op|.
"*", "**" and other wildcards can be used to search for tags files in
a directory tree. See |file-searching|. {not available when compiled
without the |+path_extra| feature}
The |tagfiles()| function can be used to get a list of the file names
actually used.
If Vim was compiled with the |+emacs_tags| feature, Emacs-style tag
files are also supported. They are automatically recognized. The
default value becomes "./tags,./TAGS,tags,TAGS", unless case
@@ -7229,7 +7311,8 @@ A jump table for the options with a short description can be found at |Q_op|.
*'wrapscan'* *'ws'* *'nowrapscan'* *'nows'*
'wrapscan' 'ws' boolean (default on) *E384* *E385*
global
Searches wrap around the end of the file.
Searches wrap around the end of the file. Also applies to |]s| and
|[s|, searching for spelling mistakes.
*'write'* *'nowrite'*
'write' boolean (default on)

View File

@@ -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 18
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -943,6 +943,10 @@ x A single character, with no special meaning, matches itself
"\_[^ab]" matches the end-of-line and any character but "a" and "b".
This makes it Vi compatible: Without the "\_" or "\n" the collection
does not match an end-of-line.
*E769*
When the ']' is not there Vim will not give an error message but
assume no collection is used. Useful to search for '['. However, you
do get E769 for internal searching.
If the sequence begins with "^", it matches any single character NOT
in the collection: "[^xyz]" matches anything but 'x', 'y' and 'z'.

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Aug 31
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -631,15 +631,13 @@ Basic items
%% the single '%' character
%s search text (finds a string)
The "%f" conversion depends on the current 'isfname' setting. "~/" is
The "%f" conversion may depend on the current 'isfname' setting. "~/" is
expanded to the home directory and environment variables are expanded.
The "%f" and "%m" conversions have to detect the end of the string. They
should be followed by a character that cannot be in the string. Everything
up to that character is included in the string. But when the next character
is a '%' or a backslash, "%f" will look for any 'isfname' character and "%m"
finds anything. If the "%f" or "%m" is at the end, everything up to the end
of the line is included.
The "%f" and "%m" conversions have to detect the end of the string. This
normally happens by matching following characters and items. When nohting is
following the rest of the line is matched. If "%f" is followed by a '%' or a
backslash, it will look for a sequence of 'isfname' characters.
On MS-DOS, MS-Windows and OS/2 a leading "C:" will be included in "%f", even
when using "%f:". This means that a file name which is a single alphabetical

View File

@@ -1,4 +1,4 @@
*quickref.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
*quickref.txt* For Vim version 7.0aa. Last change: 2005 Sep 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -756,6 +756,7 @@ Short explanation of each option: *option-list*
|'maxmempattern'| |'mmp'| maximum memory (in Kbyte) used for pattern search
|'maxmemtot'| |'mmt'| maximum memory (in Kbyte) used for all buffers
|'menuitems'| |'mis'| maximum number of items in a menu
|'mkspellmem'| |'msm'| memory used before |:mkspell| compresses the tree
|'modeline'| |'ml'| recognize modelines at start or end of file
|'modelines'| |'mls'| number of lines checked for modelines
|'modifiable'| |'ma'| changes to the text are not possible
@@ -771,6 +772,7 @@ Short explanation of each option: *option-list*
|'nrformats'| |'nf'| number formats recognized for CTRL-A command
|'number'| |'nu'| print the line number in front of each line
|'numberwidth'| |'nuw'| number of columns used for the line number
|'occultfunc'| |'ofu'| function for filetype-specific completion
|'osfiletype'| |'oft'| operating system-specific filetype information
|'paragraphs'| |'para'| nroff macros that separate paragraphs
|'paste'| allow pasting text

View File

@@ -1,4 +1,4 @@
*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 31
*spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -43,6 +43,7 @@ To search for the next misspelled word:
*]s* *E756*
]s Move to next misspelled word after the cursor.
A count before the command can be used to repeat.
'wrapscan' applies.
*[s*
[s Like "]s" but search backwards, find the misspelled
@@ -63,13 +64,19 @@ To add words to your own word list: *E764*
*zg*
zg Add word under the cursor as a good word to the first
name in 'spellfile'. In Visual mode the selected
characters are added as a word (including white
space!). If the word is explicitly marked as bad word
in another spell file the result is unpredictable.
A count may precede the command to indicate the entry
in 'spellfile' to be used. A count of two uses the
second entry.
name in 'spellfile'. A count may precede the command
to indicate the entry in 'spellfile' to be used. A
count of two uses the second entry.
In Visual mode the selected characters are added as a
word (including white space!).
When the cursor is on text that is marked as badly
spelled then the marked text is used.
Otherwise the word under the cursor, separated by
non-word characters, is used.
If the word is explicitly marked as bad word in
another spell file the result is unpredictable.
*zG*
zG Like "zg" but add the word to the internal word list
@@ -124,34 +131,46 @@ 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>.
the good word and <Esc>. This does NOT work for Thai
and other languages without spaces between words.
*:spellr* *:spellrepall* *E752* *E753*
:spellr[epall] Repeat the replacement done by |z?| for all matches
with the replaced word in the current window.
In Insert mode, when the cursor is after a badly spelled word, you can use
CTRL-X s to find suggestions. This works like Insert mode completion. Use
CTRL-N to use the next suggestion, CTRL-P to go back. |i_CTRL-X_s|
The 'spellsuggest' option influences how the list of suggestions is generated
and sorted. See |'spellsuggest'|.
The 'spellcapcheck' option is used to check the first word of a sentence
starts with a capital. This doesn't work for the first word in the file.
When there is a line break right after a sentence the highlighting of the next
line may be postponed. Use |CTRL-L| when needed.
line may be postponed. Use |CTRL-L| when needed. Also see |set-spc-auto| for
how it can be set automatically when 'spelllang' is set.
==============================================================================
2. Remarks on spell checking *spell-remarks*
@@ -190,6 +209,31 @@ 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).
*spell-german*
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-russian*
Specific exception: For Russian these special regions are used:
ru all Russian words accepted
ru_ru "IE" letter spelling
ru_yo "YO" letter spelling
*spell-yiddish*
Yiddish requires using "utf-8" encoding, because of the special characters
used. If you are using latin1 Vim will use transliterated (romanized) Yiddish
instead. If you want to use transliterated Yiddish with utf-8 use "yi-tr".
In a table:
'encoding' 'spelllang'
utf-8 yi Yiddish
latin1 yi transliterated Yiddish
utf-8 yi-tr transliterated Yiddish
SPELL FILES *spell-load*
@@ -315,6 +359,42 @@ find these functions useful:
spellsuggest() get list of spelling suggestions
soundfold() get the sound-a-like version of a word
SETTING 'spellcapcheck' AUTOMATICALLY *set-spc-auto*
After the 'spelllang' option has been set successfully, Vim will source the
files "spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
up to the first comma, dot or underscore. This can be used to set options
specifically for the language, especially 'spellcapcheck'.
The distribution includes a few of these files. Use this command to see what
they do: >
:next $VIMRUNTIME/spell/*.vim
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*
@@ -369,12 +449,15 @@ then Vim will try to guess.
into one en.spl file.
Up to eight regions can be combined. *E754* *755*
The REP and SAL items of the first .aff file where
they appear are used. |spell-affix-REP|
|spell-affix-SAL|
they appear are used. |spell-REP| |spell-SAL|
This command uses a lot of memory, required to find
the optimal word tree (Polish requires a few hundred
Mbyte). The final result will be much smaller.
the optimal word tree (Polish, Italian and Hungarian
require several hundred Mbyte). The final result will
be much smaller, because compression is used. To
avoid running out of memory compression will be done
now and then. This can be tuned with the 'mkspellmem'
option.
After the spell file was written and it was being used
in a buffer it will be reloaded automatically.
@@ -389,6 +472,12 @@ 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). If you want Vim to report all duplicate words set the 'verbose'
option.
Since you might want to change a Myspell word list for use with Vim the
following procedure is recommended:
@@ -412,6 +501,25 @@ When the Myspell files are updated you can merge the differences:
4. Rename xx_YY.new.dic to xx_YY.orig.dic and xx_YY.new.aff to xx_YY.new.aff.
SPELL FILE VERSIONS *E770* *E771* *E772*
Spell checking is a relatively new feature in Vim, thus it's possible that the
.spl file format will be changed to support more languages. Vim will check
the validity of the spell file and report anything wrong.
E771: Old spell file, needs to be updated ~
This spell file is older than your Vim. You need to update the .spl file.
E772: Spell file is for newer version of Vim ~
This means the spell file was made for a later version of Vim. You need to
update Vim.
E770: Unsupported section in spell file ~
This means the spell file was made for a later version of Vim and contains a
section that is required for the spell file to work. In this case it's
probably a good idea to upgrade your Vim.
SPELL FILE DUMP
If for some reason you want to check what words are supported by the currently
@@ -419,7 +527,7 @@ used spelling files, use this command:
*:spelldump* *:spelld*
:spelld[ump] Open a new window and fill it with all currently valid
words.
words. Compound words are not included.
Note: For some languages the result may be enormous,
causing Vim to run out of memory.
@@ -507,15 +615,6 @@ used to modify the basic words to get the full word list. This significantly
reduces the number of words, especially for a language like Polish. This is
called affix compression.
The format for the affix and word list files is mostly identical to what
Myspell uses (the spell checker of Mozilla and OpenOffice.org). A description
can be found here:
http://lingucomponent.openoffice.org/affix.readme ~
Note that affixes are case sensitive, this isn't obvious from the description.
Vim supports a few extras. Hopefully Myspell will support these too some day.
See |spell-affix-vim|.
The basic word list and the affix file are combined and turned into a binary
spell file. All the preprocessing has been done, thus this file loads fast.
The binary spell file format is described in the source code (src/spell.c).
@@ -525,6 +624,19 @@ The preprocessing also allows us to take the Myspell language files and modify
them before the Vim word list is made. The tools for this can be found in the
"src/spell" directory.
The format for the affix and word list files is based on what Myspell uses
(the spell checker of Mozilla and OpenOffice.org). A description can be found
here:
http://lingucomponent.openoffice.org/affix.readme ~
Note that affixes are case sensitive, this isn't obvious from the description.
Vim does not use the TRY item, it is ignored. For making suggestions the
possible characters in the words are used.
Vim supports quite a few extras. They are described below |spell-affix-vim|.
Attempts have been made to keep this compatible with other spell checkers, so
that the same files can be used.
WORD LIST FORMAT *spell-dic-format*
@@ -540,12 +652,17 @@ A very short example, with line numbers:
8 bedel/P
9 kado/1
10 cadeau/2
11 TCP,IP
The first line contains the number of words. Vim ignores it, but you do get
an error message if it's not there. *E760*
What follows is one word per line. There should be no white space before or
after the word.
after the word. After the word there is an optional slash and flags. Most of
these flags are letters that indicate the affixes that can be used with this
word. These are specified with SFX and PFX lines in the .aff file. See the
Myspell documentation. Vim allows using other flag types with the FLAG item
in the affix file |spell-FLAG|.
When the word only has lower-case letters it will also match with the word
starting with an upper-case letter.
@@ -564,17 +681,17 @@ The word with all upper-case characters will always be OK.
AlS AlS ALS als Als ALs aLs aLS
The KEP affix ID can be used to specifically match a word with identical case
only, see below |spell-affix-KEP|.
only, see below |spell-KEP|.
Note in line 5 to 7 that non-word characters are used. You can include
any character in a word. When checking the text a word still only matches
when it appears with a non-word character before and after it. For Myspell a
word starting with a non-word character probably won't work.
After the word there is an optional slash and flags. Most of these flags are
letters that indicate the affixes that can be used with this word. These are
specified with SFX and PFX lines in the .aff file. See the Myspell
documentation.
In line 12 the word "TCP/IP" is defined. Since the slash has a special
meaning the comma is used instead. This is defined with the SLASH item in the
affix file, see |spell-SLASH|. Note that without this SLASH item the
word will be "TCP,IP".
*spell-affix-vim*
A flag that Vim adds and is not in Myspell is the flag defined with KEP in the
@@ -606,8 +723,8 @@ word characters (as specified with ENC). This is because the system where
":mkspell" is used may not support a locale with this encoding and isalpha()
won't work. For example when using "cp1250" on Unix.
*E761* *E762* *spell-affix-FOL*
*spell-affix-LOW* *spell-affix-UPP*
*E761* *E762* *spell-FOL*
*spell-LOW* *spell-UPP*
Three lines in the affix file are needed. Simplistic example:
FOL <20><><EFBFBD> ~
@@ -627,6 +744,10 @@ The "UPP" line specifies the characters with upper-case. That is, a character
is upper-case where it's different from the character at the same position in
"FOL".
An exception is made for the German sharp s <20>. The upper-case version is
"SS". In the FOL/LOW/UPP lines it should be included, so that it's recognized
as a word character, but use the <20> character in all three.
ASCII characters should be omitted, Vim always handles these in the same way.
When the encoding is UTF-8 no word characters need to be specified.
@@ -658,8 +779,31 @@ These characters are defined with MIDWORD in the .aff file:
MIDWORD '- ~
FLAG TYPES *spell-FLAG*
Flags are used to specify the affixes that can be used with a word and for
other properties of the word. Normally single-character flags are used. This
limits the number of possible flags, especially for 8-bit encodings. The FLAG
item can be used if more affixes are to be used. Possible values:
FLAG long use two-character flags
FLAG num use numbers, from 1 up to 65000
FLAG caplong use one-character flags without A-Z and two-character
flags that start with A-Z
With "FLAG num" the numbers in a list of affixes need to be separated with a
comma: "234,2143,1435". This method is inefficient, but useful if the file is
generated with a program.
When using "caplong" the two-character flags all start with a capital: "Aa",
"B1", "BB", etc. This is useful to use one-character flags for the most
common items and two-character flags for uncommon items.
Note: When using utf-8 only characters up to 65000 may be used for flags.
AFFIXES
*spell-affix-PFX* *spell-affix-SFX*
*spell-PFX* *spell-SFX*
The usual PFX (prefix) and SFX (suffix) lines are supported (see the Myspell
documentation or the Aspell manual:
http://aspell.net/man-html/Affix-Compression.html).
@@ -671,6 +815,18 @@ Example:
SFX F 0 in [^i]n # Spion > Spionin ~
SFX F 0 nen in # Bauerin > Bauerinnen ~
Apparently Myspell allows an affix name to appear more than once. Since this
might also be a mistake, Vim checks for an extra "S". The affix files for
Myspell that use this feature apparently have this flag. Example:
SFX a Y 1 S ~
SFX a 0 an . ~
SFX a Y 2 S ~
SFX a 0 en . ~
SFX a 0 on . ~
*spell-affix-rare*
An extra item for Vim is the "rare" flag. It must come after the other
fields, before a comment. When used then all words that use the affix will be
marked as rare words. Example:
@@ -681,7 +837,23 @@ marked as rare words. Example:
However, if the word also appears as a good word in another way it won't be
marked as rare.
*spell-affix-PFXPOSTPONE*
*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
present then all words that use the affix will not be part of a compound word.
Example:
affix file:
COMPOUNDFLAG c ~
SFX a Y 2 ~
SFX a 0 s . ~
SFX a 0 ize . nocomp ~
dictionary:
word/c ~
util/ac ~
This allows for "wordutil" and "wordutils" but not "wordutilize".
*spell-PFXPOSTPONE*
When an affix file has very many prefixes that apply to many words it's not
possible to build the whole word list in memory. This applies to Hebrew (a
list with all words is over a Gbyte). In that case applying prefixes must be
@@ -697,8 +869,23 @@ but in lower case. Thus when the chop string is used to allow the following
word to start with an upper case letter.
KEEP-CASE WORDS
*spell-affix-KEP*
WORDS WITH A SLASH *spell-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-KEP*
In the affix file a KEP line can be used to define the affix name used for
keep-case words. Example:
@@ -707,8 +894,8 @@ keep-case words. Example:
See above for an example |spell-affix-vim|.
RARE WORDS
*spell-affix-RAR*
RARE WORDS *spell-RAR*
In the affix file a RAR line can be used to define the affix name used for
rare words. Example:
@@ -720,8 +907,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-BAD*
In the affix file a BAD line can be used to define the affix name used for
bad words. Example:
@@ -735,8 +922,190 @@ This can be used to exclude words that would otherwise be good. For example
Once a word has been marked as bad it won't be undone by encountering the same
word as good.
*spell-NEEDAFFIX*
The NEEDAFFIX flag is used to require that a word is used with an affix. The
word itself is not a good word. Example:
REPLACEMENTS *spell-affix-REP*
NEEDAFFIX + ~
*spell-NEEDCOMPOUND*
The NEEDCOMPOUND flag is used to require that a word is used as part of a
compound word The word itself is not a good word. Example:
NEEDCOMPOUND & ~
COMPOUND WORDS *spell-compound*
A compound word is a longer word made by concatenating words that appear in
the .dic file. 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. This means there is no control
over which word comes first. Example:
COMPOUNDFLAG c ~
*spell-COMPOUNDFLAGS*
A more advanced method to specify how compound words can be formed uses
multiple items with multiple flags. This is not compatible with Myspell 3.0.
Let's start with an example:
COMPOUNDFLAGS c+ ~
COMPOUNDFLAGS se ~
The first line defines that words with the "c" flag can be concatenated in any
order. The second line defines compound words that are made of one word with
the "s" flag and one word with the "e" flag. With this dictionary:
bork/c ~
onion/s ~
soup/e ~
You can make these words:
bork
borkbork
borkborkbork
(etc.)
onion
soup
onionsoup
The COMPOUNDFLAGS item may appear multiple times. The argument is made out of
one or more groups, where each group can be:
one flag e.g., c
alternate flags inside [] e.g., [abc]
Optionally this may be followed by:
* the group appears zero or more times, e.g., sm*e
+ the group appears one or more times, e.g., c+
This is similar to the regexp pattern syntax (but not the same!). A few
examples with the sequence of word flags they require:
COMPOUNDFLAGS x+ x xx xxx etc.
COMPOUNDFLAGS yz yz
COMPOUNDFLAGS x+z xz xxz xxxz etc.
COMPOUNDFLAGS yx+ yx yxx yxxx etc.
COMPOUNDFLAGS [abc]z az bz cz
COMPOUNDFLAGS [abc]+z az aaz abaz bz baz bcbz cz caz cbaz etc.
COMPOUNDFLAGS a[xyz]+ ax axx axyz ay ayx ayzz az azy azxy etc.
COMPOUNDFLAGS sm*e se sme smme smmme etc.
COMPOUNDFLAGS s[xyz]*e se sxe sxye sxyxe sye syze sze szye szyxe etc.
A specific example: Allow a compound to be made of two words and a dash:
In the .aff file:
COMPOUNDFLAGS sde ~
NEEDAFFIX x ~
COMPOUNDMAX 3 ~
COMPOUNDMIN 1 ~
In the .dic file:
start/s ~
end/e ~
-/xd ~
This allows for the word "start-end", but not "startend".
*spell-COMPOUNDMIN*
The minimal character length of a word used for compounding is specified with
COMPOUNDMIN. Example:
COMPOUNDMIN 5 ~
When omitted there is no minimal length. Obviously you could just leave out
the compound flag from short words instead, this feature is present for
compatibility with Myspell.
*spell-COMPOUNDMAX*
The maximum number of words that can be concatenated into a compound word is
specified with COMPOUNDMAX. Example:
COMPOUNDMAX 3 ~
When omitted there is no maximum. It applies to all compound words.
To set a limit for words with specific flags make sure the items in
COMPOUNDFLAGS where they appear don't allow too many words.
*spell-COMPOUNDSYLMAX*
The maximum number of syllables that a compound word may contain is specified
with COMPOUNDSYLMAX. Example:
COMPOUNDSYLMAX 6 ~
This has no effect if there is no SYLLABLE item. Without COMPOUNDSYLMAX there
is no limit on the number of syllables.
If both COMPOUNDMAX and COMPOUNDSYLMAX are defined, a compound word is
accepted if it fits one of the criteria, thus is either made from up to
COMPOUNDMAX words or contains up to COMPOUNDSYLMAX syllables.
*spell-SYLLABLE*
The SYLLABLE item defines characters or character sequences that are used to
count the number of syllables in a word. Example:
SYLLABLE a<>e<EFBFBD>i<EFBFBD>o<EFBFBD><6F><EFBFBD>u<EFBFBD><75><EFBFBD>y/aa/au/ea/ee/ei/ie/oa/oe/oo/ou/uu/ui ~
Before the first slash is the set of characters that are counted for one
syllable, also when repeated and mixed, until the next character that is not
in this set. After the slash come sequences of characters that are counted
for one syllable. These are preferred over using characters from the set.
With the example "ideeen" has three syllables, counted by "i", "ee" and "e".
Only case-folded letters need to be included.
Above another way to restrict compounding was mentioned above: adding "nocomp"
after an affix causes all words that are made with that affix not be be used
for compounding. |spell-affix-nocomp|
UNLIMITED COMPOUNDING *spell-NOBREAK*
For some languages, such as Thai, there is no space in between words. This
looks like all words are compounded. To specify this use the NOBREAK item in
the affix file, without arguments:
NOBREAK ~
Vim will try to figure out where one word ends and a next starts. When there
are spelling mistakes this may not be quite right.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
NOTE: The following has not been implemented yet, because there are no word
lists that support this.
> *spell-CMP*
> 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} {flags} {strip} {strip2} {add} {cond} {cond2}
>
> {flag} the flag, as used in COMPOUNDFLAGS for the lead word
> {flags} accepted flags for the following word ('.' to accept
> all)
> {strip} text to remove from the end of the lead word (zero
> for no stripping)
> {strip2} text to remove from the start of the following 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 the same as what is used for SFX and PFX items, with the extra {flags}
> and {cond2} fields. Example:
> CMP f mrt 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-REP*
In the affix file REP items can be used to define common mistakes. This is
used to make spelling suggestions. The items define the "from" text and the
@@ -748,13 +1117,15 @@ used to make spelling suggestions. The items define the "from" text and the
REP k ch ~
REP ch k ~
The first line specifies the number of REP lines following. Vim ignores it.
The first line specifies the number of REP lines following. Vim ignores the
number, but it must be there.
Don't include simple one-character replacements or swaps. Vim will try these
anyway. You can include whole words if you want to, but you might want to use
the "file:" item in 'spellsuggest' instead.
SIMILAR CHARACTERS *spell-affix-MAP*
SIMILAR CHARACTERS *spell-MAP*
In the affix file MAP items can be used to define letters that are very much
alike. This is mostly used for a letter with different accents. This is used
@@ -764,13 +1135,14 @@ to prefer suggestions with these letters substituted. Example:
MAP e<><65><EFBFBD><EFBFBD> ~
MAP u<><75><EFBFBD><EFBFBD> ~
The first line specifies the number of MAP lines following. Vim ignores it.
The first line specifies the number of MAP lines following. Vim ignores the
number, but the line must be there.
Each letter must appear in only one of the MAP items. It's a bit more
efficient if the first letter is ASCII or at least one without accents.
SOUND-A-LIKE *spell-affix-SAL*
SOUND-A-LIKE *spell-SAL*
In the affix file SAL items can be used to define the sounds-a-like mechanism
to be used. The main items define the "from" text and the "to" replacement.
@@ -794,7 +1166,7 @@ There are a few special items:
"1" has the same meaning as "true". Any other value means "false".
SIMPLE SOUNDFOLDING *spell-affix-SOFOFROM* *spell-affix-SOFOTO*
SIMPLE SOUNDFOLDING *spell-SOFOFROM* *spell-SOFOTO*
The SAL mechanism is complex and slow. A simpler mechanism is mapping all
characters to another character, mapping similar sounding characters to the

View File

@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Jul 29
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Aug 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -399,7 +399,7 @@ Go back to the default to use 'number' by deleting the variable: >
:unlet html_number_lines
Closed folds are put in the HTML as they are displayed. If you don't want
this, use the "zR" command before invoking 2html, or use: >
this, use the |zR| command before invoking 2html, or use: >
:let html_ignore_folding = 1
By default, HTML optimized for old browsers is generated. If you prefer using
@@ -426,16 +426,13 @@ To go back to the automatic mechanism, delete the g:html_use_encoding
variable: >
:unlet html_use_encoding
<
Closed folds are kept as they are displayed. If you don't want closed folds
in the HTML use the |zR| command before converting.
For diff mode a sequence of more than 3 filler lines is displayed as three
lines with the middle line mentioning the total number of inserted lines. If
you prefer to see all the inserted lines use: >
:let html_whole_filler = 1
And to go back to displaying up to three lines again: >
:unlet html_whole_filler
<
*convert-to-XML* *convert-to-XHTML*
An alternative is to have the script generate XHTML (XML compliant HTML). To
do this set the "use_xhtml" variable: >
@@ -457,7 +454,7 @@ Unix shell: >
for f in *.[ch]; do gvim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" $f; done
<
ABEL *abel.vim* *abel-syntax*
ABEL *abel.vim* *ft-abel-syntax*
ABEL highlighting provides some user-defined options. To enable them, assign
any value to the respective variable. Example: >
@@ -470,7 +467,7 @@ abel_obsolete_ok obsolete keywords are statements, not errors
abel_cpp_comments_illegal do not interpret '//' as inline comment leader
ADA *ada.vim* *ada-syntax*
ADA *ada.vim* *ft-ada-syntax*
This mode is designed for the 1995 edition of Ada ("Ada95"), which
includes support for objected-programming, protected types, and so on.
@@ -518,7 +515,7 @@ Even on a slow (90Mhz) PC this mode works quickly, but if you find
the performance unacceptable, turn on ada_withuse_ordinary.
ANT *ant.vim* *ant-syntax*
ANT *ant.vim* *ft-ant-syntax*
The ant syntax file provides syntax highlighting for javascript and python
by default. Syntax highlighting for other script languages can be installed
@@ -536,7 +533,7 @@ will install syntax perl highlighting for the following ant code >
See |mysyntaxfile-add| for installing script languages permanently.
APACHE *apache.vim* *apache-syntax*
APACHE *apache.vim* *ft-apache-syntax*
The apache syntax file provides syntax highlighting depending on Apache HTTP
server version, by default for 1.3.x. Set "apache_version" to Apache version
@@ -546,8 +543,8 @@ server version, by default for 1.3.x. Set "apache_version" to Apache version
<
*asm.vim* *asmh8300.vim* *nasm.vim* *masm.vim* *asm68k*
ASSEMBLY *asm-syntax* *asmh8300-syntax* *nasm-syntax* *masm-syntax*
*asm68k-syntax* *fasm.vim*
ASSEMBLY *ft-asm-syntax* *ft-asmh8300-syntax* *ft-nasm-syntax*
*ft-masm-syntax* *ft-asm68k-syntax* *fasm.vim*
Files matching "*.i" could be Progress or Assembly. If the automatic detection
doesn't work for you, or you don't edit Progress at all, use this in your
@@ -601,7 +598,7 @@ nasm_ctx_outside_macro contexts outside macro not as Error
nasm_no_warn potentially risky syntax not as ToDo
ASPPERL and ASPVBS *aspperl-syntax* *aspvbs-syntax*
ASPPERL and ASPVBS *ft-aspperl-syntax* *ft-aspvbs-syntax*
*.asp and *.asa files could be either Perl or Visual Basic script. Since it's
hard to detect this you can set two global variables to tell Vim what you are
@@ -613,7 +610,7 @@ For Visual Basic use: >
:let g:filetype_asp = "aspvbs"
BASIC *basic.vim* *vb.vim* *basic-syntax* *vb-syntax*
BASIC *basic.vim* *vb.vim* *ft-basic-syntax* *ft-vb-syntax*
Both Visual Basic and "normal" basic use the extension ".bas". To detect
which one should be used, Vim checks for the string "VB_Name" in the first
@@ -622,7 +619,7 @@ otherwise "vb". Files with the ".frm" extension will always be seen as Visual
Basic.
C *c.vim* *c-syntax*
C *c.vim* *ft-c-syntax*
A few things in C highlighting are optional. To enable them assign any value
to the respective variable. Example: >
@@ -689,7 +686,7 @@ an the "after" directory in 'runtimepath'. For Unix this would be
syn sync fromstart
set foldmethod=syntax
CH *ch.vim* *ch-syntax*
CH *ch.vim* *ft-ch-syntax*
C/C++ interpreter. Ch has similar syntax highlighting to C and builds upon
the C syntax file. See |c.vim| for all the settings that are available for C.
@@ -699,7 +696,7 @@ of C or C++: >
:let ch_syntax_for_h = 1
CHILL *chill.vim* *chill-syntax*
CHILL *chill.vim* *ft-chill-syntax*
Chill syntax highlighting is similar to C. See |c.vim| for all the settings
that are available. Additionally there is:
@@ -709,7 +706,7 @@ chill_comment_string like c_comment_strings
chill_minlines like c_minlines
CHANGELOG *changelog.vim* *changelog-syntax*
CHANGELOG *changelog.vim* *ft-changelog-syntax*
ChangeLog supports highlighting spaces at the start of a line.
If you do not like this, add following line to your .vimrc: >
@@ -725,7 +722,7 @@ Or to avoid the highlighting: >
This works immediately.
COBOL *cobol.vim* *cobol-syntax*
COBOL *cobol.vim* *ft-cobol-syntax*
COBOL highlighting has different needs for legacy code than it does for fresh
development. This is due to differences in what is being done (maintenance
@@ -736,7 +733,7 @@ To disable it again, use this: >
:unlet cobol_legacy_code
COLD FUSION *coldfusion.vim* *coldfusion-syntax*
COLD FUSION *coldfusion.vim* *ft-coldfusion-syntax*
The ColdFusion has its own version of HTML comments. To turn on ColdFusion
comment highlighting, add the following line to your startup file: >
@@ -746,7 +743,7 @@ comment highlighting, add the following line to your startup file: >
The ColdFusion syntax file is based on the HTML syntax file.
CSH *csh.vim* *csh-syntax*
CSH *csh.vim* *ft-csh-syntax*
This covers the shell named "csh". Note that on some systems tcsh is actually
used.
@@ -769,7 +766,7 @@ will be classified as tcsh, UNLESS the "filetype_csh" variable exists. If the
variable.
CYNLIB *cynlib.vim* *cynlib-syntax*
CYNLIB *cynlib.vim* *ft-cynlib-syntax*
Cynlib files are C++ files that use the Cynlib class library to enable
hardware modelling and simulation using C++. Typically Cynlib files have a .cc
@@ -789,7 +786,7 @@ To disable these again, use this: >
:unlet cynlib_cyntax_for_cpp
<
CWEB *cweb.vim* *cweb-syntax*
CWEB *cweb.vim* *ft-cweb-syntax*
Files matching "*.w" could be Progress or cweb. If the automatic detection
doesn't work for you, or you don't edit Progress at all, use this in your
@@ -797,7 +794,7 @@ startup vimrc: >
:let filetype_w = "cweb"
DESKTOP *desktop.vim* *desktop-syntax*
DESKTOP *desktop.vim* *ft-desktop-syntax*
Primary goal of this syntax file is to highlight .desktop and .directory files
according to freedesktop.org standard: http://pdx.freedesktop.org/Standards/
@@ -807,7 +804,7 @@ to standard by placing this in your vimrc file: >
:let enforce_freedesktop_standard = 1
DIRCOLORS *dircolors.vim* *dircolors-syntax*
DIRCOLORS *dircolors.vim* *ft-dircolors-syntax*
The dircolors utility highlighting definition has one option. It exists to
provide compatibility with the Slackware GNU/Linux distributions version of
@@ -818,9 +815,9 @@ line to your startup file: >
let dircolors_is_slackware = 1
DOCBOOK *docbk.vim* *docbk-syntax* *docbook*
DOCBOOK XML *docbkxml.vim* *docbkxml-syntax*
DOCBOOK SGML *docbksgml.vim* *docbksgml-syntax*
DOCBOOK *docbk.vim* *ft-docbk-syntax* *docbook*
DOCBOOK XML *docbkxml.vim* *ft-docbkxml-syntax*
DOCBOOK SGML *docbksgml.vim* *ft-docbksgml-syntax*
There are two types of DocBook files: SGML and XML. To specify what type you
are using the "b:docbk_type" variable should be set. Vim does this for you
@@ -837,7 +834,7 @@ or: >
:set filetype=docbkxml
DOSBATCH *dosbatch.vim* *dosbatch-syntax*
DOSBATCH *dosbatch.vim* *ft-dosbatch-syntax*
There is one option with highlighting DOS batch files. This covers new
extensions to the Command Interpreter introduced with Windows 2000 and
@@ -860,7 +857,7 @@ If this variable is undefined or zero, btm syntax is selected.
DTD *dtd.vim* *dtd-syntax*
DTD *dtd.vim* *ft-dtd-syntax*
The DTD syntax highlighting is case sensitive by default. To disable
case-sensitive highlighting, add the following line to your startup file: >
@@ -884,7 +881,7 @@ delimiters % and ;. This can be turned off by setting: >
The DTD syntax file is also included by xml.vim to highlight included dtd's.
EIFFEL *eiffel.vim* *eiffel-syntax*
EIFFEL *eiffel.vim* *ft-eiffel-syntax*
While Eiffel is not case-sensitive, its style guidelines are, and the
syntax highlighting file encourages their use. This also allows to
@@ -927,7 +924,7 @@ Finally, some vendors support hexadecimal constants. To handle them, add >
to your startup file.
ERLANG *erlang.vim* *erlang-syntax*
ERLANG *erlang.vim* *ft-erlang-syntax*
The erlang highlighting supports Erlang (ERicsson LANGuage).
Erlang is case sensitive and default extension is ".erl".
@@ -942,7 +939,7 @@ your .vimrc: >
:let erlang_characters = 1
FORM *form.vim* *form-syntax*
FORM *form.vim* *ft-form-syntax*
The coloring scheme for syntax elements in the FORM file uses the default
modes Conditional, Number, Statement, Comment, PreProc, Type, and String,
@@ -976,7 +973,7 @@ gvim display. Here, statements are colored LightYellow instead of Yellow, and
conditionals are LightBlue for better distinction.
FORTRAN *fortran.vim* *fortran-syntax*
FORTRAN *fortran.vim* *ft-fortran-syntax*
Default highlighting and dialect ~
Highlighting appropriate for f95 (Fortran 95) is used by default. This choice
@@ -1117,11 +1114,11 @@ Parenthesis checking does not catch too few closing parentheses. Hollerith
strings are not recognized. Some keywords may be highlighted incorrectly
because Fortran90 has no reserved words.
For further information related to fortran, see |fortran-indent| and
|fortran-plugin|.
For further information related to fortran, see |ft-fortran-indent| and
|ft-fortran-plugin|.
FVWM CONFIGURATION FILES *fvwm.vim* *fvwm-syntax*
FVWM CONFIGURATION FILES *fvwm.vim* *ft-fvwm-syntax*
In order for Vim to recognize Fvwm configuration files that do not match
the patterns *fvwmrc* or *fvwm2rc* , you must put additional patterns
@@ -1145,7 +1142,7 @@ in /usr/X11/lib/X11/, you should add the line >
to your .vimrc file.
GSP *gsp.vim*
GSP *gsp.vim* *ft-gsp-syntax*
The default coloring style for GSP pages is defined by |html.vim|, and
the coloring for java code (within java tags or inline between backticks)
@@ -1168,7 +1165,7 @@ The backticks for inline java are highlighted according to the htmlError
group to make them easier to see.
GROFF *groff.vim* *groff-syntax*
GROFF *groff.vim* *ft-groff-syntax*
The groff syntax file is a wrapper for |nroff.vim|, see the notes
under that heading for examples of use and configuration. The purpose
@@ -1177,7 +1174,7 @@ filetype from a |modeline| or in a personal filetype definitions file
(see |filetype.txt|).
HASKELL *haskell.vim* *lhaskell.vim* *haskell-syntax*
HASKELL *haskell.vim* *lhaskell.vim* *ft-haskell-syntax*
The Haskell syntax files support plain Haskell code as well as literate
Haskell code, the latter in both Bird style and TeX style. The Haskell
@@ -1221,7 +1218,7 @@ set before turning syntax highlighting on for the buffer or
loading a file.
HTML *html.vim* *html-syntax*
HTML *html.vim* *ft-html-syntax*
The coloring scheme for tags in the HTML file works as follows.
@@ -1294,7 +1291,7 @@ Now you just need to make sure that you add all regions that contain
the preprocessor language to the cluster htmlPreproc.
HTML/OS (by Aestiva) *htmlos.vim* *htmlos-syntax*
HTML/OS (by Aestiva) *htmlos.vim* *ft-htmlos-syntax*
The coloring scheme for HTML/OS works as follows:
@@ -1315,7 +1312,7 @@ Lastly, it should be noted that the opening and closing characters to begin a
block of HTML/OS code can either be << or [[ and >> or ]], respectively.
IA64 *ia64.vim* *intel-itanium* *ia64-syntax*
IA64 *ia64.vim* *intel-itanium* *ft-ia64-syntax*
Highlighting for the Intel Itanium 64 assembly language. See |asm.vim| for
how to recognize this filetype.
@@ -1324,7 +1321,7 @@ To have *.inc files be recognized as IA64, add this to your .vimrc file: >
:let g:filetype_inc = "ia64"
INFORM *inform.vim* *inform-syntax*
INFORM *inform.vim* *ft-inform-syntax*
Inform highlighting includes symbols provided by the Inform Library, as
most programs make extensive use of it. If do not wish Library symbols
@@ -1353,7 +1350,7 @@ startup sequence: >
:let inform_highlight_old=1
JAVA *java.vim* *java-syntax*
JAVA *java.vim* *ft-java-syntax*
The java.vim syntax highlighting file offers several options:
@@ -1446,7 +1443,7 @@ displayed line. The default value is 10. The disadvantage of using a larger
number is that redrawing can become slow.
LACE *lace.vim* *lace-syntax*
LACE *lace.vim* *ft-lace-syntax*
Lace (Language for Assembly of Classes in Eiffel) is case insensitive, but the
style guide lines are not. If you prefer case insensitive highlighting, just
@@ -1454,7 +1451,7 @@ define the vim variable 'lace_case_insensitive' in your startup file: >
:let lace_case_insensitive=1
LEX *lex.vim* *lex-syntax*
LEX *lex.vim* *ft-lex-syntax*
Lex uses brute-force synchronizing as the "^%%$" section delimiter
gives no clue as to what section follows. Consequently, the value for >
@@ -1463,7 +1460,7 @@ may be changed by the user if s/he is experiencing synchronization
difficulties (such as may happen with large lex files).
LITE *lite.vim* *lite-syntax*
LITE *lite.vim* *ft-lite-syntax*
There are two options for the lite syntax highlighting.
@@ -1477,7 +1474,7 @@ set "lite_minlines" to the value you desire. Example: >
:let lite_minlines = 200
LPC *lpc.vim* *lpc-syntax*
LPC *lpc.vim* *ft-lpc-syntax*
LPC stands for a simple, memory-efficient language: Lars Pensj| C. The
file name of LPC is usually *.c. Recognizing these files as LPC would bother
@@ -1518,7 +1515,7 @@ uLPC has been developed to Pike, so you should use Pike syntax
instead, and the name of your source file should be *.pike
LUA *lua.vim* *lua-syntax*
LUA *lua.vim* *ft-lua-syntax*
This syntax file may be used for Lua 4.0 and Lua 5.0 (default). If you are
programming in Lua 4.0, use this: >
@@ -1528,7 +1525,7 @@ programming in Lua 4.0, use this: >
If lua_version variable doesn't exist, it is set to 5.
MAIL *mail.vim*
MAIL *mail.vim* *ft-mail.vim*
Vim highlights all the standard elements of an email (headers, signatures,
quoted text and URLs / email addresses). In keeping with standard conventions,
@@ -1546,7 +1543,7 @@ with short headers, you can change this to a smaller value: >
:let mail_minlines = 30
MAKE *make.vim* *make-syntax*
MAKE *make.vim* *ft-make-syntax*
In makefiles, commands are usually highlighted to make it easy for you to spot
errors. However, this may be too much coloring for you. You can turn this
@@ -1555,7 +1552,7 @@ feature off by using: >
:let make_no_commands = 1
MAPLE *maple.vim* *maple-syntax*
MAPLE *maple.vim* *ft-maple-syntax*
Maple V, by Waterloo Maple Inc, supports symbolic algebra. The language
supports many packages of functions which are selectively loaded by the user.
@@ -1580,7 +1577,7 @@ $VIMRUNTIME/syntax/syntax.vim).
mv_finance mv_logic mv_powseries
MATHEMATICA *mma.vim* *mma-syntax* *mathematica-syntax*
MATHEMATICA *mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*
Empty *.m files will automatically be presumed to be Matlab files unless you
have the following in your .vimrc: >
@@ -1588,7 +1585,7 @@ have the following in your .vimrc: >
let filetype_m = "mma"
MOO *moo.vim* *moo-syntax*
MOO *moo.vim* *ft-moo-syntax*
If you use C-style comments inside expressions and find it mangles your
highlighting, you may want to use extended (slow!) matches for C-style
@@ -1624,7 +1621,7 @@ An example of adding sprintf() to the list of known builtin functions: >
:syn keyword mooKnownBuiltinFunction sprintf contained
MSQL *msql.vim* *msql-syntax*
MSQL *msql.vim* *ft-msql-syntax*
There are two options for the msql syntax highlighting.
@@ -1638,7 +1635,7 @@ set "msql_minlines" to the value you desire. Example: >
:let msql_minlines = 200
NCF *ncf.vim* *ncf-syntax*
NCF *ncf.vim* *ft-ncf-syntax*
There is one option for NCF syntax highlighting.
@@ -1650,7 +1647,7 @@ errors, use this: >
If you don't want to highlight these errors, leave it unset.
NROFF *nroff.vim* *nroff-syntax*
NROFF *nroff.vim* *ft-nroff-syntax*
The nroff syntax file works with AT&T n/troff out of the box. You need to
activate the GNU groff extra features included in the syntax file before you
@@ -1721,7 +1718,7 @@ Finally, there is a |groff.vim| syntax file that can be used for enabling
groff syntax highlighting either on a file basis or globally by default.
OCAML *ocaml.vim* *ocaml-syntax*
OCAML *ocaml.vim* *ft-ocaml-syntax*
The OCaml syntax file handles files having the following prefixes: .ml,
.mli, .mll and .mly. By setting the following variable >
@@ -1737,7 +1734,7 @@ prevents highlighting of "end" as error, which is useful when sources
contain very long structures that Vim does not synchronize anymore.
PAPP *papp.vim* *papp-syntax*
PAPP *papp.vim* *ft-papp-syntax*
The PApp syntax file handles .papp files and, to a lesser extend, .pxml
and .pxsl files which are all a mixture of perl/xml/html/other using xml
@@ -1755,7 +1752,7 @@ The newest version of the papp.vim syntax file can usually be found at
http://papp.plan9.de.
PASCAL *pascal.vim* *pascal-syntax*
PASCAL *pascal.vim* *ft-pascal-syntax*
Files matching "*.p" could be Progress or Pascal. If the automatic detection
doesn't work for you, or you don't edit Progress at all, use this in your
@@ -1809,7 +1806,7 @@ will be highlighted as Error. >
PERL *perl.vim* *perl-syntax*
PERL *perl.vim* *ft-perl-syntax*
There are a number of possible options to the perl syntax highlighting.
@@ -1869,7 +1866,7 @@ If you want to fold blocks in if statements, etc. as well set the following: >
:let perl_fold_blocks = 1
PHP3 and PHP4 *php.vim* *php3.vim* *php-syntax* *php3-syntax*
PHP3 and PHP4 *php.vim* *php3.vim* *ft-php-syntax* *ft-php3-syntax*
[note: previously this was called "php3", but since it now also supports php4
it has been renamed to "php"]
@@ -1922,7 +1919,7 @@ x > 0 to sync at least x lines backwards,
x = 0 to sync from start.
PPWIZARD *ppwiz.vim* *ppwiz-syntax*
PPWIZARD *ppwiz.vim* *ft-ppwiz-syntax*
PPWizard is a preprocessor for HTML and OS/2 INF files
@@ -1944,7 +1941,7 @@ This syntax file has the options:
HTML code; if 0, treat HTML code like ordinary text.
PHTML *phtml.vim* *phtml-syntax*
PHTML *phtml.vim* *ft-phtml-syntax*
There are two options for the phtml syntax highlighting.
@@ -1958,7 +1955,7 @@ set "phtml_minlines" to the value you desire. Example: >
:let phtml_minlines = 200
POSTSCRIPT *postscr.vim* *postscr-syntax*
POSTSCRIPT *postscr.vim* *ft-postscr-syntax*
There are several options when it comes to highlighting PostScript.
@@ -2013,8 +2010,8 @@ postscr_andornot_binary as follows: >
:let postscr_andornot_binary=1
<
*ptcap.vim*
PRINTCAP + TERMCAP *ptcap-syntax* *termcap-syntax* *printcap-syntax*
*ptcap.vim* *ft-printcap-syntax*
PRINTCAP + TERMCAP *ft-ptcap-syntax* *ft-termcap-syntax*
This syntax file applies to the printcap and termcap databases.
@@ -2039,7 +2036,7 @@ internal variable to a larger number: >
(The default is 20 lines.)
PROGRESS *progress.vim* *progress-syntax*
PROGRESS *progress.vim* *ft-progress-syntax*
Files matching "*.w" could be Progress or cweb. If the automatic detection
doesn't work for you, or you don't edit cweb at all, use this in your
@@ -2051,7 +2048,7 @@ Pascal. Use this if you don't use assembly and Pascal: >
:let filetype_p = "progress"
PYTHON *python.vim* *python-syntax*
PYTHON *python.vim* *ft-python-syntax*
There are four options to control Python syntax highlighting.
@@ -2072,7 +2069,7 @@ preceding three options): >
:let python_highlight_all = 1
QUAKE *quake.vim* *quake-syntax*
QUAKE *quake.vim* *ft-quake-syntax*
The Quake syntax definition should work for most any FPS (First Person
Shooter) based on one of the Quake engines. However, the command names vary
@@ -2094,7 +2091,7 @@ Any combination of these three variables is legal, but might highlight more
commands than are actually available to you by the game.
READLINE *readline.vim* *readline-syntax*
READLINE *readline.vim* *ft-readline-syntax*
The readline library is primarily used by the BASH shell, which adds quite a
few commands and options to the ones already available. To highlight these
@@ -2106,7 +2103,7 @@ This will add highlighting for the commands that BASH (version 2.05a and
later, and part earlier) adds.
REXX *rexx.vim* *rexx-syntax*
REXX *rexx.vim* *ft-rexx-syntax*
If you notice highlighting errors while scrolling backwards, which are fixed
when redrawing with CTRL-L, try setting the "rexx_minlines" internal variable
@@ -2117,7 +2114,7 @@ displayed line. The default value is 10. The disadvantage of using a larger
number is that redrawing can become slow.
RUBY *ruby.vim* *ruby-syntax*
RUBY *ruby.vim* *ft-ruby-syntax*
There are a few options to the Ruby syntax highlighting.
@@ -2142,7 +2139,7 @@ This will prevent highlighting of special identifiers like "ConstantName",
"$global_var", "@instance_var", "| iterator |", and ":symbol".
SCHEME *scheme.vim* *scheme-syntax*
SCHEME *scheme.vim* *ft-scheme-syntax*
By default only R5RS keywords are highlighted and properly indented.
@@ -2153,7 +2150,7 @@ Also scheme.vim supports keywords of the Chicken Scheme->C compiler. Define
b:is_chicken or g:is_chicken, if you need them.
SDL *sdl.vim* *sdl-syntax*
SDL *sdl.vim* *ft-sdl-syntax*
The SDL highlighting probably misses a few keywords, but SDL has so many
of them it's almost impossibly to cope.
@@ -2173,7 +2170,7 @@ The indentation is probably also incomplete, but right now I am very
satisfied with it for my own projects.
SED *sed.vim* *sed-syntax*
SED *sed.vim* *ft-sed-syntax*
To make tabs stand out from regular blanks (accomplished by using Todo
highlighting on the tabs), define "highlight_sedtabs" by putting >
@@ -2196,7 +2193,7 @@ Bugs:
each plausible pattern delimiter).
SGML *sgml.vim* *sgml-syntax*
SGML *sgml.vim* *ft-sgml-syntax*
The coloring scheme for tags in the SGML file works as follows.
@@ -2237,7 +2234,7 @@ vimrc file: >
(Adapted from the html.vim help text by Claudio Fleiner <claudio@fleiner.com>)
SH *sh.vim* *sh-syntax*
SH *sh.vim* *ft-sh-syntax* *ft-bash-syntax* *ft-ksh-syntax*
This covers the "normal" Unix (Bourne) sh, bash and the Korn shell.
@@ -2288,7 +2285,7 @@ The default is to use the twice sh_minlines. Set it to a smaller number to
speed up displaying. The disadvantage is that highlight errors may appear.
SPEEDUP (AspenTech plant simulator) *spup.vim* *spup-syntax*
SPEEDUP (AspenTech plant simulator) *spup.vim* *ft-spup-syntax*
The Speedup syntax file has some options:
@@ -2320,8 +2317,8 @@ fast enough, you can increase minlines and/or maxlines near the end of
the syntax file.
SQL *sql.vim* *sql-syntax*
*sqlinformix.vim* *sqlinformix-syntax*
SQL *sql.vim* *ft-sql-syntax*
*sqlinformix.vim* *ft-sqlinformix-syntax*
While there is an ANSI standard for SQL, most database engines add their
own custom extensions. Vim currently supports the Oracle and Informix
@@ -2331,7 +2328,7 @@ If you want to use the Informix dialect, put this in your startup vimrc: >
:let g:filetype_sql = "sqlinformix"
TCSH *tcsh.vim* *tcsh-syntax*
TCSH *tcsh.vim* *ft-tcsh-syntax*
This covers the shell named "tcsh". It is a superset of csh. See |csh.vim|
for how the filetype is detected.
@@ -2353,20 +2350,32 @@ displayed line. The default value is 15. The disadvantage of using a larger
number is that redrawing can become slow.
TEX *tex.vim* *tex-syntax*
TEX *tex.vim* *ft-tex-syntax*
*tex-folding*
Want Syntax Folding? ~
As of version 28 of <syntax/tex.vim>, syntax-based folding of parts, chapters,
sections, subsections, etc are supported. Put >
let g:tex_fold_enabled=1
in your <.vimrc>, and :set fdm=syntax. I suggest doing the latter via a
modeline at the end of your LaTeX file: >
% vim: fdm=syntax
<
*tex-runon*
Run-on Comments/Math? ~
The tex highlighting supports TeX, LaTeX, and some AmsTeX. The
highlighting supports three primary zones: normal, texZone, and texMathZone.
Although a considerable effort has been made to have these zones terminate
properly, zones delineated by $..$ and $$..$$ cannot be synchronized as
there's no difference between start and end patterns. Consequently, a
The <syntax/tex.vim> highlighting supports TeX, LaTeX, and some AmsTeX. The
highlighting supports three primary zones/regions: normal, texZone, and
texMathZone. Although considerable effort has been made to have these zones
terminate properly, zones delineated by $..$ and $$..$$ cannot be synchronized
as there's no difference between start and end patterns. Consequently, a
special "TeX comment" has been provided >
%stopzone
which will forcibly terminate the highlighting of either a texZone or a
texMathZone.
*tex-slow*
Slow Syntax Highlighting? ~
If you have a slow computer, you may wish to reduce the values for >
@@ -2376,6 +2385,7 @@ If you have a slow computer, you may wish to reduce the values for >
increase them. This primarily affects synchronizing (i.e. just what group,
if any, is the text at the top of the screen supposed to be in?).
*tex-error*
Excessive Error Highlighting? ~
The <tex.vim> supports lexical error checking of various sorts. Thus,
@@ -2383,28 +2393,24 @@ although the error checking is ofttimes very useful, it can indicate
errors where none actually are. If this proves to be a problem for you,
you may put in your <.vimrc> the following statement: >
let tex_no_error=1
and all error checking by <tex.vim> will be suppressed.
and all error checking by <syntax/tex.vim> will be suppressed.
*tex-math*
Need a new Math Group? ~
If you want to include a new math group in your LaTeX, the following
code shows you an example as to how you might do so: >
call TexNewMathZone(sfx,mathzone,starform)
You'll want to provide the new math group with a unique suffix
(currently, A-L and V-Z are taken by <syntax/tex.vim> itself).
As an example, consider how eqnarray is set up by <syntax/tex.vim>: >
call TexNewMathZone("D","eqnarray",1)
You'll need to change "mathzone" to the name of your new math group,
and then to the call to it in .vim/after/syntax/tex.vim.
The "starform" variable, if true, implies that your new math group
has a starred form (ie. eqnarray*).
syn cluster texMathZones add=texMathZoneLOCAL
syn region texMathZoneLOCAL start="\\begin\s*{\s*LOCALMATH\s*}"
\ end="\\end\s*{\s*LOCALMATH\s*}" keepend
\ contains=@texMathZoneGroup
if !exists("tex_no_math")
syn sync match texSyncMathZoneLOCAL grouphere texMathZoneLOCAL
\ "\\begin\s*{\s*LOCALMATH\*\s*}"
syn sync match texSyncMathZoneLOCAL groupthere NONE
\ "\\end\s*{\s*LOCALMATH\*\s*}"
endif
hi link texMathZoneLOCAL texMath
<
You'll need to change LOCALMATH to the name of your new math group,
and then to put it into .vim/after/syntax/tex.vim.
*tex-style*
Starting a New Style? ~
One may use "\makeatletter" in *.tex files, thereby making the use of "@" in
@@ -2419,7 +2425,7 @@ Putting "let g:tex_stylish=1" into your <.vimrc> will make <syntax/tex.vim>
always accept such use of @.
TF *tf.vim* *tf-syntax*
TF *tf.vim* *ft-tf-syntax*
There is one option for the tf syntax highlighting.
@@ -2429,7 +2435,7 @@ set "tf_minlines" to the value you desire. Example: >
:let tf_minlines = your choice
VIM *vim.vim* *vim-syntax*
VIM *vim.vim* *ft-vim-syntax*
There is a tradeoff between more accurate syntax highlighting versus
screen updating speed. To improve accuracy, you may wish to increase
@@ -2453,7 +2459,7 @@ for external scripting languages (currently perl, python, ruby, and tcl).
loaded.
XF86CONFIG *xf86conf.vim* *xf86conf-syntax*
XF86CONFIG *xf86conf.vim* *ft-xf86conf-syntax*
The syntax of XF86Config file differs in XFree86 v3.x and v4.x. Both
variants are supported. Automatic detection is used, but is far from perfect.
@@ -2468,7 +2474,7 @@ Note that spaces and underscores in option names are not supported. Use
highlighted.
XML *xml.vim* *xml-syntax*
XML *xml.vim* *ft-xml-syntax*
Xml namespaces are highlighted by default. This can be inhibited by
setting a global variable: >
@@ -2486,7 +2492,7 @@ Note: syntax folding might slow down syntax highlighting significantly,
especially for large files.
X Pixmaps (XPM) *xpm.vim* *xpm-syntax*
X Pixmaps (XPM) *xpm.vim* *ft-xpm-syntax*
xpm.vim creates its syntax items dynamically based upon the contents of the
XPM file. Thus if you make changes e.g. in the color specification strings,
@@ -3641,15 +3647,15 @@ 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
< Comment xxx term=bold ctermfg=4 guifg=Blue ~
Last set from /home/mool/vim/vim7/runtime/syntax/syncolor.vim ~
For details about when this message is given and when it's valid see
|:set-verbose|. When ":hi clear" is used then the script where this command
is used will be mentioned for the default values.
When ":hi clear" is used then the script where this command is used will be
mentioned for the default values. See |:verbose-cmd| for more information.
*highlight-args* *E416* *E417* *E423*
There are three types of terminals for highlighting:

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
*term.txt* For Vim version 7.0aa. Last change: 2005 Jun 06
*term.txt* For Vim version 7.0aa. Last change: 2005 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -291,6 +291,7 @@ Added by Vim (there are no standard codes for these):
t_WS set window size (height, width) in characters *t_WS* *'t_WS'*
t_SI start insert mode (bar cursor shape) *t_SI* *'t_SI'*
t_EI end insert mode (block cursor shape) *t_EI* *'t_EI'*
|termcap-cursor-shape|
t_RV request terminal version string (for xterm) *t_RV* *'t_RV'*
|xterm-8bit| |v:termresponse| |'ttymouse'| |xterm-codes|
@@ -427,6 +428,7 @@ Example for an xterm, this changes the color of the cursor: >
endif
NOTE: When Vim exits the shape for Normal mode will remain. The shape from
before Vim started will not be restored.
{not available when compiled without the +cursorshape feature}
*termcap-title*
The 't_ts' and 't_fs' options are used to set the window title if the terminal

View File

@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2005 Aug 05
*todo.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,14 +30,21 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
ccomplete:
- When a typedef or struct is local to a file only use it in that file?
- How to use a popup menu?
- when a struct reference is already complete and CTRL-X CTRL-O is used, add a
"." or "->"?
Mac unicode patch (Da Woon Jung):
- selecting proportional font breaks display
- UTF-8 text causes display problems. Font replacement causes this.
Win32: Use the free downloadable compiler 7.1. Figure out how to do debugging
(with Agide?) and describe it. (George Reilly)
Try out using the free MS compiler and debugger, using Make_mvc.mak.
autoload:
Autoload:
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
script names and a help file and produces a script that can be sourced to
install the scripts in the user's directories.
@@ -60,13 +67,12 @@ PLANNED FOR VERSION 7.0:
that make sense. Esp. members of classes/structs.
It's not much different from other Insert-mode completion, use the same
mechanism. Use CTRL-X CTRL-O.
mechanism. Use CTRL-X CTRL-O and 'occultfunc'. Set 'occultfunc' in the
filetype plugin, define the function in the autoload directory.
Separately develop the completion logic and the UI. When adding UI stuff
make it work for all completion methods.
First cleanup the Insert-mode completion.
UI:
- At first: use 'wildmenu' kind of thing.
- Nicer: Display the list of choices right under the place where they
@@ -74,15 +80,35 @@ PLANNED FOR VERSION 7.0:
alternatives).
Completion logic:
Use something like 'completefunc'?
runtime/complete/{filetype}.vim files?
Use runtime/autoload/{filetype}complete.vim files.
In function arguments suggest variables of expected type.
Tags file has "signature" field.
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
or 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.
Uses Perl for C++.
Uses ctags to find the info:
ctags -f $allTagsFile --fields=+aiKmnsSz --language-force=C++ --C++-kinds=+cefgmnpsut-dlux -u $files
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)
@@ -167,6 +193,8 @@ PLANNED FOR VERSION 7.0:
8 Support four composing/combining characters, needed for Hebrew. (Ron Aaron)
Add the 'maxcombining' option to set the nr. of composing characters.
At the same time support more colors (use two bytes when necessary).
8 Searching for a composing character by itself should work. Perhaps "."
with a composing char should work too.
- Add a few more things to 'diffopt': "horizontal", "vertical",
"foldcolumn". (Benji Fisher, 2004 Jun 21)
- FileChangedShellPost autocommand event: after (not) reloading a changed
@@ -456,6 +484,9 @@ GTK+ GUI known bugs:
8 GTK 2: Combining UTF-8 characters not displayed properly in menus (Mikolaj
Machowski) They are displayed as separate characters. Problem in
creating a label?
8 GTK 2: Combining UTF-8 characters are sometimes not drawn properly.
Depends on the font size, "monospace 13" has the problem. Vim seems to do
everything right, must be a GTK bug. Is there a way to work around it?
9 Can't paste a Visual selection from GTK-gvim to vim in xterm or Motif gvim
when it is longer than 4000 characters. Works OK from gvim to gvim and
vim to vim. Pasting through xterm (using the shift key) also works.
@@ -1278,6 +1309,43 @@ User Friendlier:
Spell checking:
9 Work together with OpenOffice.org to update the wordlists. (Adri Verhoef,
Aad Nales) Setup vim-spell maillist?
- Compound word is accepted if nr of words is <= COMPOUNDMAX OR nr of
syllables <= COMPOUNDSYLMAX. Specify using AND in the affix file?
- COMPOUNDMAX -> COMPOUNDWORDMAX?
- Support flags on a suffix. Used for second level affixes. The flags may
also be used for compounding. Default is an OR mechanism with the flags
of the word. Adding "compset" on the affixes means the compound flags of
the word are not used. Instead of "SFX a 0 add/FLAGS ." we could use "SFX
a 0 add . /FLAGS" (or support both).
- NEEDCOMPOUND also used for affix? Or use "needcomp" after affix?
- Do we need a flag for the rule that when compounding is done the following
word doesn't have a capital after a word character, even for Onecap words?
- New hunspell home page: http://hunspell.sourceforge.net/
- Lots of code depends on LANG, that isn't right. Enable each mechanism
in the affix file separately.
- Example with compounding dash is bad, gets in the way of setting
COMPOUNDMIN and COMPOUNDMAX to a reasonable value.
- PSEUDOROOT == NEEDAFFIX
- COMPOUNDROOT -> COMPOUNDED? For a word that already is a compound word
Or use COMPOUNDED2, COMPOUNDED3, etc.
- CIRCUMFIX: when a word uses a prefix marked with the CIRCUMFIX flag, then
the word must also have a suffix marked with the CIRCUMFIX flag. It's a
bit primitive, since only one flag is used, which doesn't allow matching
specific prefixes with suffixes.
Alternative:
PSFX {flag} {pchop} {padd} {pcond} {schop} {sadd}[/flags] {scond}
We might not need this at all, you can use the NEEDAFFIX flag and the
affix which is required.
- When a suffix has more than one syllable, it may count as a word for
COMPOUNDMAX.
- Add flags to count extra syllables in a word. SYLLABLEADD1 SYLLABLEADD2,
etc.? Or make it possible to specify the syllable count of a word
directly, e.g., after another slash: /abc/3
- MORPHO item in affix file: ignore morphological fields after word and
affix.
- Implement multiple flags for compound words and CMP item?
Await comments from other spell checking authors.
- Also see tklspell: http://tkltrans.sourceforge.net/
8 Charles Campbell asks for method to add "contained" groups to existing
syntax items (to add @Spell).
Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
@@ -1407,6 +1475,10 @@ Multi-byte characters:
7 In "-- INSERT (lang) --" show the name of the keymap used instead of
"lang". (Ilya Dogolazky)
- Make 'langmap' accept multi-byte characters.
- Make 'breakat' accept multi-byte characters. Problem: can't use a lookup
table anymore (breakat_flags[]).
Simplistic solution: when 'formatoptions' contains "m" also break a line
at a multi-byte character >= 0x100.
- Do we need the reverse of 'keymap', like 'langmap' but with files and
multi-byte characters? E.g., when using a Russian keyboard.
- Add the possibility to enter mappings which are used whenever normal text
@@ -2020,9 +2092,9 @@ GUI:
7 X11: Support cursorColor resource and "-cr" argument.
8 X11 (and others): CTRL-; is not different from ';'. Set the modifier mask
to include CTRL for keys where CTRL produces the same ASCII code.
7 Add some code to handle proportional fonts? Need to draw each character
separately (like xterm). Also for when a double-width font is not exactly
double-width. (Maeda)
7 Add some code to handle proportional fonts on more systems? Need to draw
each character separately (like xterm). Also for when a double-width font
is not exactly double-width. (Maeda)
8 Should take font from xterm where gvim was started (if no other default).
8 Selecting font names in X11 is difficult, make a script or something to
select one.
@@ -2171,12 +2243,12 @@ Insert mode completion/expansion:
9 ^X^L completion doesn't repeat correctly. It uses the first match with
the last added line, instead of continuing where the last match ended.
(Webb)
8 The code has become too complex. Redesign it, or at least add proper
comments.
8 Add option to set different behavior for Insert mode completion:
- ignore/match case
- different characters than 'iskeyword'
8 Add a command to undo the completion, go back to the original text.
7 Completion of an abbreviation: Can leave letters out, like what Instant
text does: www.textware.com
8 Use the class information in the tags file to do context-sensitive
completion. After "foo." complete all member functions/variables of
"foo". Need to search backwards for the class definition of foo.
@@ -2571,16 +2643,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 <C-A> and <C-S-A> 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 +2660,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?

View File

@@ -1,4 +1,4 @@
*uganda.txt* For Vim version 7.0aa. Last change: 2005 Feb 24
*uganda.txt* For Vim version 7.0aa. Last change: 2005 Aug 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -249,10 +249,11 @@ Europe: Use a bank transfer if possible. Your bank should have a form
Credit Card: You can use PayPal to send money with a Credit card. This is
the most widely used Internet based payment system. It's
really simple to use. Use this link to find more info:
https://www.paypal.com/affil/pal=Bram%40moolenaar.net
https://www.paypal.com/affil/pal=Bram%40iccf-holland.org
The e-mail address for sending the money to is:
Bram@iccf-holland.org
For amounts above $150 sending a cheque is preferred.
Bram@iccf-holland.org
For amounts above 400 Euro ($500) sending a cheque is
preferred.
Others: Transfer to one of these accounts if possible:
Postbank, account 4548774

View File

@@ -1,4 +1,4 @@
*various.txt* For Vim version 7.0aa. Last change: 2005 Jun 22
*various.txt* For Vim version 7.0aa. Last change: 2005 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -268,6 +268,8 @@ N *+cmdline_info* |'showcmd'| and |'ruler'|
N *+comments* |'comments'| support
N *+cryptv* encryption support |encryption|
B *+cscope* |cscope| support
m *+cursorshape* |termcap-cursor-shape| support
m *+debug* Compiled for debugging.
N *+dialog_gui* Support for |:confirm| with GUI dialog.
N *+dialog_con* Support for |:confirm| with console dialog.
N *+dialog_con_gui* Support for |:confirm| with GUI and console dialog.
@@ -485,6 +487,15 @@ N *+X11* Unix only: can restore window title |X11|
For logging verbose messages in a file use the
'verbosefile' option.
*:verbose-cmd*
When 'verbose' is non-zero, listing the value of a Vim option or a key map or
an abbreviation or a user-defined function or a command or a highlight group
or an autocommand will also display where it was last defined. If it was
defined manually then there will be no "Last set" message. When it 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}
*K*
K Run a program to lookup the keyword under the
cursor. The name of the program is given with the

View File

@@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0aa. Last change: 2005 Aug 05
*version7.txt* For Vim version 7.0aa. Last change: 2005 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -119,6 +119,14 @@ translated to <Home>, both for the keys and for mappings. Also for <xEnd>,
When a .gvimrc file exists then 'compatible' is off, just like when a ".vimrc"
file exists.
When making a string upper-case with "vlllU" or similar then the German sharp
s is replaced with "SS". This does not happen with "~" to avoid backwards
compatibility problems and because "SS" can't be changed back to a sharp s.
"gd" previously found the very first occurrence of a variable in a function,
that could be the function argument without type. Now it finds the position
where the type is given.
==============================================================================
NEW FEATURES *new-7*
@@ -323,7 +331,7 @@ Various new items *new-items-7*
Normal mode commands: ~
a", a' and a` New text objects to select quoted strings. |a'|
i", i' and i' (Taro Muraoka)
i", i' and i` (Taro Muraoka)
CTRL-W <Enter> In the quickfix window: opens a new window to show the
location of the error under the cursor.
@@ -331,6 +339,11 @@ CTRL-W <Enter> In the quickfix window: opens a new window to show the
|at| and |it| text objects select a block of text between HTML or XML tags.
Insert mode commands: ~
CTRL-\ CTRL-O Execute a Normal mode command. Like CTRL-O but
without moving the cursor.
Options: ~
'completefunc' The name of a function used for user-specified Insert
@@ -421,6 +434,7 @@ New functions: ~
|getftype()| get type of file (Nikolai Weibull)
|getline()| with second argument: get List with buffer lines
|has_key()| check whether a key appears in a Dictionary
|inputlist()| select an entry from a list
|insert()| insert an item somewhere in a List
|items()| get List of Dictionary key-value pairs
|join()| join List items into a String
@@ -554,6 +568,14 @@ 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 the ":map", ":abbreviate", ":command",
":function" and ":autocmd" commands will show where it was last defined.
(Yegappan Lakshmanan)
":function /pattern" lists functions matching the pattern.
==============================================================================
IMPROVEMENTS *improvements-7*
@@ -735,6 +757,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
@@ -747,15 +770,26 @@ 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
pattern matches. In the example a ":" not followed by a line number is
included in the file name. (suggested by Emanuele Giaquinta)
For command-line completion the matches for various types of arguments are now
sorted: user commands, variables, syntax names, etc.
When no locale is set, thus using the "C" locale, Vim will work with latin1
characters, using it's own isupper()/toupper()/etc. functions.
When using an rxvt terminal emulator guess the value of 'background' using the
COLORFGBG environment variable. (Ciaran McCreesh)
Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
When 'foldcolumn' is one then put as much info in it as possible. This allows
closing a fold with the mouse by clicking on the '-'.
==============================================================================
COMPILE TIME CHANGES *compile-changes-7*
@@ -787,6 +821,10 @@ functions.
Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c
without copying the code.
Mac: When running "make install" the runtime files are installed as for Unix.
Avoids that too many files are copied. When running "make" a link to the
runtime files is created to avoid a recursive copy that takes much time.
==============================================================================
BUG FIXES *bug-fixes-7*
@@ -843,7 +881,8 @@ When converting a string with a hex or octal number the leading '-' was
ignored. ":echo '-05' + 0" resulted in 5 instead of -5.
Using "@:" to repeat a command line didn't work when it contains control
characters.
characters. Also remove "'<,'>" when in Visual mode to avoid that it appears
twice.
When using file completion for a user command, it would not expand environment
variables like for a regular command with a file argument.
@@ -1274,4 +1313,30 @@ 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('/\*', '', '\*/').
For the Find/Replace dialog it was possible that not finding the text resulted
in an error message while redrawing, which cleared the syntax highlighting
while it was being used, resulting in a crash. Now don't clear syntax
highlighting, disable it with b_syn_error.
Win32: Combining UTF-8 characters were drawn on the previous character.
Could be noticed with a Thai font.
Output of ":function" could leave some of the typed text behind. (Yegappan
Lakshmanan)
When the command line history has only a few lines the command line window
would be opened with these lines above the first window line.
When using a command line window for search strings ":qa" would result in
searching for "qa" instead of quitting all windows.
GUI: When scrolling with the scrollbar and there is a line that doesn't fit
redrawing may fail. Make sure w_skipcol is valid before redrawing.
vim:tw=78:ts=8:ft=help:norl:

View File

@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2005 Jul 13
" Last Change: 2005 Aug 29
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
@@ -629,8 +629,8 @@ au BufNewFile,BufRead *.hex,*.h32 setf hex
" Tilde (must be before HTML)
au BufNewFile,BufRead *.t.html setf tilde
" HTML (.shtml and .stm for server side, .rhtml for Ruby html)
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.rhtml,*.stm call s:FThtml()
" HTML (.shtml and .stm for server side)
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call s:FThtml()
" Distinguish between HTML and XHTML
fun! s:FThtml()
@@ -645,6 +645,8 @@ fun! s:FThtml()
setf html
endfun
" HTML with Ruby - eRuby
au BufNewFile,BufRead *.rhtml setf eruby
" HTML with M4
au BufNewFile,BufRead *.html.m4 setf htmlm4
@@ -823,7 +825,7 @@ au BufNewFile,BufRead *.m4
au BufNewFile,BufRead *.mgp setf mgp
" Mail (for Elm, trn, mutt, rn, slrn)
au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt-*-\w\+,mutt\w\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt{ng,}-*-\w\+,mutt\w\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
" Mailcap configuration file
au BufNewFile,BufRead .mailcap,mailcap setf mailcap
@@ -953,8 +955,8 @@ au BufRead,BufNewFile *.mu setf mupad
au BufNewFile,BufRead *.mush setf mush
" Mutt setup file
au BufNewFile,BufRead Muttrc setf muttrc
au BufNewFile,BufRead .muttrc*,*/.mutt/muttrc* call s:StarSetf('muttrc')
au BufNewFile,BufRead Mutt{ng,}rc setf muttrc
au BufNewFile,BufRead .mutt{ng,}rc*,*/.mutt{ng,}/mutt{ng,}rc* call s:StarSetf('muttrc')
" Nano
au BufNewFile,BufRead /etc/nanorc,.nanorc setf nanorc
@@ -1198,7 +1200,7 @@ function! s:FTprogress_asm()
" This function checks for an assembly comment the first ten lines.
" If not found, assume Progress.
let lnum = 1
while lnum <= 10
while lnum <= 10 && lnum < line('$')
let line = getline(lnum)
if line =~ '^\s*;' || line =~ '^\*'
call s:FTasm()
@@ -1225,9 +1227,9 @@ function! s:FTprogress_pascal()
" Look for either an opening comment or a program start.
" If not found, assume Progress.
let lnum = 1
while lnum <= 10
while lnum <= 10 && lnum < line('$')
let line = getline(lnum)
if line =~ '^\s*\(program\|procedure\|function\|const\|type\|var\)\>'
if line =~ '^\s*\(program\|unit\|procedure\|function\|const\|type\|var\)\>'
\ || line =~ '^\s*{' || line =~ '^\s*(\*'
setf pascal
return
@@ -1700,6 +1702,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')
@@ -1829,8 +1834,13 @@ au BufNewFile,BufRead *.y call s:FTy()
fun! s:FTy()
let n = 1
while n < 10 && n < line("$")
if getline(n) =~ '^\s*\(#\|class\>\)'
while n < 100 && n < line("$")
let line = getline(n)
if line =~ '^\s*%'
setf yacc
return
endif
if getline(n) =~ '^\s*\(#\|class\>\)' && getline(n) !~ '^\s*#\s*include'
setf racc
return
endif
@@ -1921,7 +1931,7 @@ au BufNewFile,BufRead /etc/modprobe.* call s:StarSetf('modconf')
au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby')
" Mutt setup file
au BufNewFile,BufRead muttrc*,Muttrc* call s:StarSetf('muttrc')
au BufNewFile,BufRead mutt{ng,}rc*,Mutt{ng,}rc* call s:StarSetf('muttrc')
" Nroff macros
au BufNewFile,BufRead tmac.* call s:StarSetf('nroff')

View File

@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2005 Jun 22
" Last Change: 2005 Sep 01
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -15,12 +15,17 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo-=C
let b:undo_ftplugin = "setl fo< com< | if has('vms') | setl isk< | endif"
let b:undo_ftplugin = "setl fo< com< ofu< | if has('vms') | setl isk< | endif"
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".
setlocal fo-=t fo+=croql
" Set completion with CTRL-X CTRL-O to autoloaded function.
if exists('&ofu')
setlocal ofu=ccomplete#Complete
endif
" Set 'comments' to format dashed lists in comments.
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://

View File

@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: Debian Changelog
" Maintainer: Michael Piefel <piefel@informatik.hu-berlin.de>
" Last Change: 23 March 2004
" Last Change: 15 August 2005
if exists("g:did_changelog_ftplugin")
finish
@@ -30,7 +30,7 @@ function <SID>Email()
elseif exists("$EMAIL")
return $EMAIL
elseif exists("g:debianemail")
return g:debianfullemail
return g:debianemail
else
return "your@email.address"
endif

View File

@@ -1,14 +1,14 @@
" Vim filetype plugin file
" Language: pascal
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
" Last Changed: 2003 Sep 29
" Last Changed: 2005 Sep 05
" URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
if exists("loaded_matchit")
let b:match_words='\<begin\>:\<end\>'
let b:match_words='\<\%(begin\|case\|try\)\>:\<end\>'
endif
" Undo the stuff we changed.

View File

@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: php
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
" Last Changed: 2004 Jul 08
" Last Changed: 2005 Sep 05
" URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin
if exists("b:did_ftplugin") | finish | endif
@@ -41,7 +41,7 @@ endif
setlocal include=\\\(require\\\|include\\\)\\\(_once\\\)\\\?
setlocal iskeyword+=$
if exists("loaded_matchit")
let b:match_words = '\<switch\>:\<endswitch\>,' .
let b:match_words = '<php?:?>,\<switch\>:\<endswitch\>,' .
\ '\<if\>:\<elseif\>:\<else\>:\<endif\>,' .
\ '\<while\>:\<endwhile\>,' .
\ '\<do\>:\<while\>,' .

View File

@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: Verilog HDL
" Maintainer: Chih-Tsun Huang <cthuang@larc.ee.nthu.edu.tw>
" Last Change: Wed Oct 31 16:16:19 CST 2001
" Last Change: Mon Sep 5 11:05:54 CST 2005
" URL: http://larc.ee.nthu.edu.tw/~cthuang/vim/ftplugin/verilog.vim
" Only do this when not done yet for this buffer
@@ -12,6 +12,10 @@ endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
" Undo the plugin effect
let b:undo_ftplugin = "setlocal fo< com< tw<"
\ . "| unlet b:browsefilter b:match_ignorecase b:match_words"
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".
setlocal fo-=t fo+=croqlm1
@@ -20,7 +24,9 @@ setlocal fo-=t fo+=croqlm1
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
" Format comments to be up to 78 characters long
setlocal tw=75
if &textwidth == 0
setlocal tw=78
endif
set cpo-=C

View File

@@ -2,7 +2,7 @@
" Language: Perl
" Author: Rafael Garcia-Suarez <rgarciasuarez@free.fr>
" URL: http://rgarciasuarez.free.fr/vim/indent/perl.vim
" Last Change: 2005 Jul 15
" Last Change: 2005 Sep 07
" Suggestions and improvements by :
" Aaron J. Sherman (use syntax for hints)
@@ -26,7 +26,7 @@ endif
let b:did_indent = 1
" Is syntax highlighting active ?
let b:indent_use_syntax = has("syntax") && &syntax == "perl"
let b:indent_use_syntax = has("syntax")
setlocal indentexpr=GetPerlIndent()
setlocal indentkeys+=0=,0),0=or,0=and

View File

@@ -2,7 +2,7 @@
" Language: PHP
" Author: John Wellesz <John.wellesz (AT) teaser (DOT) fr>
" 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

View File

@@ -1,7 +1,7 @@
" Menu Translations: Italian / Italiano
" Maintainer: Antonio Colombo <azc10@yahoo.com>
" Vlad Sandrini <sator72@libero.it>
" Last Change: 2005 Mar 16
" Last Change: 2005 Aug 13
" Quit when menu translations have already been done.
if exists("did_menu_trans")
@@ -159,6 +159,26 @@ menut &Jump\ to\ this\ tag<Tab>g^] &Vai\ a\ questa\ Tag<Tab>g^]
menut Jump\ &back<Tab>^T Torna\ &indietro<Tab>^T
menut Build\ &Tags\ File Costruisci\ File\ &Tags\
" Menu ortografia / Spelling
menut &Spelling &Ortografia
menut &Spell\ Check\ On Attiva\ &Controllo\ ortografico
menut Spell\ Check\ &Off &Disattiva\ controllo\ ortografico
menut To\ &Next\ error<Tab>]s Errore\ &Seguente<tab>]s
menut To\ &Previous\ error<Tab>[s Errore\ &Precedente<tab>[s
menut Suggest\ &Corrections<Tab>z? &Suggerimenti<Tab>z?
menut &Repeat\ correction<Tab>:spellrepall &Ripeti\ correzione<Tab>:spellrepall
menut Set\ language\ to\ "en" Imposta\ lingua\ a\ "en"
menut Set\ language\ to\ "en_au" Imposta\ lingua\ a\ "en_au"
menut Set\ language\ to\ "en_ca" Imposta\ lingua\ a\ "en_ca"
menut Set\ language\ to\ "en_gb" Imposta\ lingua\ a\ "en_gb"
menut Set\ language\ to\ "en_nz" Imposta\ lingua\ a\ "en_nz"
menut Set\ language\ to\ "en_us" Imposta\ lingua\ a\ "en_us"
menut Set\ language\ to\ "it" Imposta\ lingua\ a\ "it"
menut Set\ language\ to\ "it_it" Imposta\ lingua\ a\ "it_it"
menut Set\ language\ to\ "it_ch" Imposta\ lingua\ a\ "it_ch"
menut &Find\ More\ Languages &Trova\ altre\ lingue
" Menu piegature / Fold
if has("folding")
menut &Folding &Piegature
@@ -212,7 +232,7 @@ menut &Close<Tab>:cclose &Chiudi<Tab>:cclose
menut &Convert\ to\ HEX<Tab>:%!xxd &Converti\ a\ Esadecimale<Tab>:%!xxd
menut Conve&rt\ back<Tab>:%!xxd\ -r Conve&rti\ da\ Esadecimale<Tab>:%!xxd\ -r
menut &Set\ Compiler Impo&sta\ Compilatore
menut &SeT\ Compiler Impo&sta\ Compilatore
" Buffers / Buffer
menut &Buffers &Buffer

View File

@@ -2,7 +2,7 @@
" You can also use this as a start for your own set of menus.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2005 Jul 30
" Last Change: 2005 Aug 16
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
" in all modes and avoid side effects from mappings defined by the user.
@@ -198,10 +198,10 @@ an 20.405 &Edit.-SEP2- <Nop>
if has("win32") || has("win16") || has("gui_gtk") || has("gui_kde") || has("gui_motif")
an 20.410 &Edit.&Find\.\.\. :promptfind<CR>
vunmenu &Edit.&Find\.\.\.
vnoremenu &Edit.&Find\.\.\. y:promptfind <C-R>"<CR>
vnoremenu <silent> &Edit.&Find\.\.\. y:call <SID>FixFText()<CR>:promptfind <C-R>"<CR>
an 20.420 &Edit.Find\ and\ Rep&lace\.\.\. :promptrepl<CR>
vunmenu &Edit.Find\ and\ Rep&lace\.\.\.
vnoremenu &Edit.Find\ and\ Rep&lace\.\.\. y:promptrepl <C-R>"<CR>
vnoremenu <silent> &Edit.Find\ and\ Rep&lace\.\.\. y:call <SID>FixFText()<CR>:promptrepl <C-R>"<CR>
else
an 20.410 &Edit.&Find<Tab>/ /
an 20.420 &Edit.Find\ and\ Rep&lace<Tab>:%s :%s/
@@ -212,6 +212,11 @@ endif
an 20.425 &Edit.-SEP3- <Nop>
an 20.430 &Edit.Settings\ &Window :options<CR>
fun! s:FixFText()
" Fix text in nameless register to be used with :promptfind.
let @" = substitute(@", "[\r\n]", '\\n', 'g')
endfun
" Edit/Global Settings
an 20.440.100 &Edit.&Global\ Settings.Toggle\ Pattern\ &Highlight<Tab>:set\ hls! :set hls! hls?<CR>
an 20.440.110 &Edit.&Global\ Settings.Toggle\ &Ignore-case<Tab>:set\ ic! :set ic! ic?<CR>

View File

@@ -1,7 +1,7 @@
" These commands create the option window.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2005 Jul 11
" Last Change: 2005 Sep 01
" If there already is an option window, jump to that one.
if bufwinnr("option-window") > 0
@@ -403,6 +403,8 @@ if has("syntax")
call <SID>OptionL("spc")
call append("$", "spellsuggest\tmethods used to suggest corrections")
call <SID>OptionG("sps", &sps)
call append("$", "mkspellmem\tamount of memory used by :mkspell before compressing")
call <SID>OptionG("msm", &msm)
endif
@@ -702,6 +704,9 @@ if has("insert_expand")
call append("$", "completefunc\tuser defined function for Insert mode completion")
call append("$", "\t(local to buffer)")
call <SID>OptionL("cfu")
call append("$", "occultfunc\tfunction for filetype-specific Insert mode completion")
call append("$", "\t(local to buffer)")
call <SID>OptionL("ofu")
call append("$", "dictionary\tlist of dictionary files for keyword completion")
call append("$", "\t(global or local to buffer)")
call <SID>OptionG("dict", &dict)

View File

@@ -1,17 +1,28 @@
" NetrwFileHandlers: contains various extension-based file handlers for
" netrw's browsers' x command ("eXecute launcher")
" Author: Charles E. Campbell, Jr.
" Date: Apr 07, 2005
" Version: 4a NOT RELEASED
" Date: Aug 15, 2005
" Version: 6
" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
" NetrwFileHandlers.vim is provided *as is* and comes with no
" warranty of any kind, either expressed or implied. In no
" event will the copyright holder be liable for any damages
" resulting from the use of this software.
"
" Rom 6:23 (WEB) For the wages of sin is death, but the free gift of God {{{1
" is eternal life in Christ Jesus our Lord.
" ---------------------------------------------------------------------
" Load Once: {{{1
if exists("g:loaded_netrwfilehandlers") || &cp
if exists("g:loaded_NetrwFileHandlers") || &cp
finish
endif
let s:keepcpo= &cpo
set cpo&vim
let g:loaded_netrwfilehandlers= "v4a"
let g:loaded_NetrwFileHandlers= "v6"
" ---------------------------------------------------------------------
" NetrwFileHandler_html: handles html when the user hits "x" when the {{{1
@@ -165,21 +176,6 @@ fun! NetrwFileHandler_pdf(pdf)
return 1
endfun
" ---------------------------------------------------------------------
" NetrwFileHandler_sxw: visualize sxw files {{{1
fun! NetrwFileHandler_sxw(sxw)
" " call Dfunc("NetrwFileHandler_sxw(sxw<".a:sxw.">)")
if executable("gs")
exe 'silent! !gs "'.a:sxw.'"'
else
" " call Dret("NetrwFileHandler_sxw 0")
return 0
endif
" " call Dret("NetrwFileHandler_sxw 1")
return 1
endfun
" ---------------------------------------------------------------------
" NetrwFileHandler_doc: visualize doc files {{{1
fun! NetrwFileHandler_doc(doc)

View File

@@ -0,0 +1,144 @@
" netrw.vim: Handles file transfer and remote directory listing across a network
" PLUGIN PORTION
" Date: Sep 08, 2005
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
" License: Vim License (see vim's :help license)
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
" netrw.vim is provided *as is* and comes with no warranty
" of any kind, either expressed or implied. By using this
" plugin, you agree that in no event will the copyright
" holder be liable for any damages resulting from the use
" of this software.
"
" But be doers of the Word, and not only hearers, deluding your own selves {{{1
" (James 1:22 RSV)
" =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
" ---------------------------------------------------------------------
" Load Once: {{{1
let s:keepcpo= &cpo
set cpo&vim
" ---------------------------------------------------------------------
" Public Interface: {{{1
" Local Browsing: {{{2
augroup FileExplorer
au!
au BufEnter * call s:LocalBrowse(expand("<amatch>"))
augroup END
" Network Browsing Reading Writing: {{{2
augroup Network
au!
if has("win32") || has("win95") || has("win64") || has("win16")
au BufReadCmd file://* exe "silent doau BufReadPre ".expand("<amatch>")|exe 'e '.substitute(expand("<amatch>"),"file:/*","","")|exe "silent doau BufReadPost ".expand("<amatch>")
else
au BufReadCmd file:///* exe "silent doau BufReadPre ".expand("<amatch>")|exe 'e /'.substitute(expand("<amatch>"),"file:/*","","")|exe "silent doau BufReadPost ".expand("<amatch>")
au BufReadCmd file://localhost/* exe "silent doau BufReadPre ".expand("<amatch>")|exe 'e /'.substitute(expand("<amatch>"),"file:/*","","")|exe "silent doau BufReadPost ".expand("<amatch>")
endif
au BufReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,rsync://*,sftp://* exe "silent doau BufReadPre ".expand("<amatch>")|exe "Nread 0r ".expand("<amatch>")|exe "silent doau BufReadPost ".expand("<amatch>")
au FileReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,rsync://*,sftp://* exe "silent doau BufReadPre ".expand("<amatch>")|exe "Nread " .expand("<amatch>")|exe "silent doau FileReadPost ".expand("<amatch>")
au BufWriteCmd ftp://*,rcp://*,scp://*,dav://*,rsync://*,sftp://* exe "silent doau BufWritePre ".expand("<amatch>")|exe "Nwrite " .expand("<amatch>")|exe "silent doau BufWritePost ".expand("<amatch>")
au FileWriteCmd ftp://*,rcp://*,scp://*,dav://*,rsync://*,sftp://* exe "silent doau BufWritePre ".expand("<amatch>")|exe "'[,']Nwrite " .expand("<amatch>")|exe "silent doau FileWritePost ".expand("<amatch>")
augroup END
" Commands: :Nread, :Nwrite, :NetUserPass {{{2
com! -nargs=* Nread call netrw#NetSavePosn()<bar>call netrw#NetRead(<f-args>)<bar>call netrw#NetRestorePosn()
com! -range=% -nargs=* Nwrite call netrw#NetSavePosn()<bar><line1>,<line2>call netrw#NetWrite(<f-args>)<bar>call netrw#NetRestorePosn()
com! -nargs=* NetUserPass call NetUserPass(<f-args>)
" Commands: :Explore, :Sexplore, Hexplore, Vexplore {{{2
com! -nargs=? -bar -bang -count=0 Explore call netrw#Explore(<count>,0,0+<bang>0,<q-args>)
com! -nargs=? -bar -bang -count=0 Sexplore call netrw#Explore(<count>,1,0+<bang>0,<q-args>)
com! -nargs=? -bar -bang -count=0 Hexplore call netrw#Explore(<count>,1,2+<bang>0,<q-args>)
com! -nargs=? -bar -bang -count=0 Vexplore call netrw#Explore(<count>,1,4+<bang>0,<q-args>)
com! -nargs=? -bar -bang Nexplore call netrw#Explore(-1,0,0,<q-args>)
com! -nargs=? -bar -bang Pexplore call netrw#Explore(-2,0,0,<q-args>)
" Commands: NetrwSettings {{{2
com! -nargs=0 NetrwSettings :call NetrwSettings#NetrwSettings()
" ---------------------------------------------------------------------
" LocalBrowse: {{{2
fun! s:LocalBrowse(dirname)
" unfortunate interaction -- debugging calls can't be used here;
" the BufEnter event causes triggering when attempts to write to
" the DBG buffer are made.
if isdirectory(a:dirname)
call netrw#DirBrowse(a:dirname)
endif
" not a directory, ignore it
endfun
" ---------------------------------------------------------------------
" NetrwStatusLine: {{{1
fun! NetrwStatusLine()
" let g:stlmsg= "Xbufnr=".w:netrw_explore_bufnr." bufnr=".bufnr(".")." Xline#".w:netrw_explore_line." line#".line(".")
if !exists("w:netrw_explore_bufnr") || w:netrw_explore_bufnr != bufnr(".") || !exists("w:netrw_explore_line") || w:netrw_explore_line != line(".") || !exists("w:netrw_explore_list")
let &stl= s:netrw_explore_stl
if exists("w:netrw_explore_bufnr")|unlet w:netrw_explore_bufnr|endif
if exists("w:netrw_explore_line")|unlet w:netrw_explore_line|endif
return ""
else
return "Match ".w:netrw_explore_mtchcnt." of ".w:netrw_explore_listlen
endif
endfun
" ------------------------------------------------------------------------
" NetUserPass: set username and password for subsequent ftp transfer {{{1
" Usage: :call NetUserPass() -- will prompt for userid and password
" :call NetUserPass("uid") -- will prompt for password
" :call NetUserPass("uid","password") -- sets global userid and password
fun! NetUserPass(...)
" get/set userid
if a:0 == 0
" call Dfunc("NetUserPass(a:0<".a:0.">)")
if !exists("g:netrw_uid") || g:netrw_uid == ""
" via prompt
let g:netrw_uid= input('Enter username: ')
endif
else " from command line
" call Dfunc("NetUserPass(a:1<".a:1.">) {")
let g:netrw_uid= a:1
endif
" get password
if a:0 <= 1 " via prompt
" call Decho("a:0=".a:0." case <=1:")
let g:netrw_passwd= inputsecret("Enter Password: ")
else " from command line
" call Decho("a:0=".a:0." case >1: a:2<".a:2.">")
let g:netrw_passwd=a:2
endif
" call Dret("NetUserPass")
endfun
" ------------------------------------------------------------------------
" NetReadFixup: this sort of function is typically written by the user {{{1
" to handle extra junk that their system's ftp dumps
" into the transfer. This function is provided as an
" example and as a fix for a Windows 95 problem: in my
" experience, win95's ftp always dumped four blank lines
" at the end of the transfer.
if has("win95") && exists("g:netrw_win95ftp") && g:netrw_win95ftp
fun! NetReadFixup(method, line1, line2)
" call Dfunc("NetReadFixup(method<".a:method."> line1=".a:line1." line2=".a:line2.")")
if method == 3 " ftp (no <.netrc>)
let fourblanklines= line2 - 3
silent fourblanklines.",".line2."g/^\s*/d"
endif
" call Dret("NetReadFixup")
endfun
endif
let &cpo= s:keepcpo
unlet s:keepcpo
" ------------------------------------------------------------------------
" Modelines: {{{1
" vim:ts=8 fdm=marker

View File

@@ -0,0 +1,157 @@
" NetrwSettings.vim: makes netrw settings simpler
" Date: Aug 16, 2005
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
" Version: 3
" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
" NetrwSettings.vim is provided *as is* and comes with no
" warranty of any kind, either expressed or implied. By using
" this plugin, you agree that in no event will the copyright
" holder be liable for any damages resulting from the use
" of this software.
"
" Mat 4:23 (WEB) Jesus went about in all Galilee, teaching in their {{{1
" synagogues, preaching the gospel of the kingdom, and healing
" every disease and every sickness among the people.
" Load Once: {{{1
if exists("g:loaded_NetrwSettings") || &cp
finish
endif
let g:loaded_NetrwSettings = "v3"
" ---------------------------------------------------------------------
" NetrwSettings: {{{1
fun! NetrwSettings#NetrwSettings()
" this call is here largely just to insure that netrw has been loaded
call netrw#NetSavePosn()
above wincmd s
enew
setlocal noswapfile bh=wipe
set ft=vim
file Netrw\ Settings
" these variables have the following default effects when they don't
" exist (ie. have not been set by the user in his/her .vimrc)
if !exists("g:netrw_longlist")
let g:netrw_longlist= 0
let g:netrw_list_cmd= "ssh HOSTNAME ls -FLa"
endif
if !exists("g:netrw_silent")
let g:netrw_silent= 0
endif
if !exists("g:netrw_use_nt_rcp")
let g:netrw_use_nt_rcp= 0
endif
if !exists("g:netrw_ftp")
let g:netrw_ftp= 0
endif
if !exists("g:netrw_ignorenetrc")
let g:netrw_ignorenetrc= 0
endif
put ='+ ---------------------------------------------'
put ='+ NetrwSettings: (by Charles E. Campbell, Jr.)'
put ='+ Press ? with cursor atop any line for help '
put ='+ ---------------------------------------------'
let s:netrw_settings_stop= line(".")
put =''
put ='+ Netrw Protocol Commands'
put = 'let g:netrw_dav_cmd = '.g:netrw_dav_cmd
put = 'let g:netrw_fetch_cmd = '.g:netrw_fetch_cmd
put = 'let g:netrw_ftp_cmd = '.g:netrw_ftp_cmd
put = 'let g:netrw_http_cmd = '.g:netrw_http_cmd
put = 'let g:netrw_rcp_cmd = '.g:netrw_rcp_cmd
put = 'let g:netrw_rsync_cmd = '.g:netrw_rsync_cmd
put = 'let g:netrw_scp_cmd = '.g:netrw_scp_cmd
put = 'let g:netrw_sftp_cmd = '.g:netrw_sftp_cmd
let s:netrw_protocol_stop= line(".")
put = ''
put ='+Netrw Transfer Control'
put = 'let g:netrw_cygwin = '.g:netrw_cygwin
put = 'let g:netrw_ftp = '.g:netrw_ftp
put = 'let g:netrw_ftpmode = '.g:netrw_ftpmode
put = 'let g:netrw_ignorenetrc = '.g:netrw_ignorenetrc
put = 'let g:netrw_use_nt_rcp = '.g:netrw_use_nt_rcp
put = 'let g:netrw_win95ftp = '.g:netrw_win95ftp
let s:netrw_xfer_stop= line(".")
put = ''
put ='+ Netrw Browser Control'
put = 'let g:netrw_alto = '.g:netrw_alto
put = 'let g:netrw_altv = '.g:netrw_altv
put = 'let g:netrw_dirhistmax = '.g:netrw_dirhistmax
put = 'let g:netrw_ftp_browse_reject = '.g:netrw_ftp_browse_reject
put = 'let g:netrw_ftp_list_cmd = '.g:netrw_ftp_list_cmd
put = 'let g:netrw_hide = '.g:netrw_hide
put = 'let g:netrw_keepdir = '.g:netrw_keepdir
put = 'let g:netrw_list_cmd = '.g:netrw_list_cmd
put = 'let g:netrw_list_cmd = '.g:netrw_list_cmd
put = 'let g:netrw_list_hide = '.g:netrw_list_hide
put = 'let g:netrw_local_mkdir = '.g:netrw_local_mkdir
put = 'let g:netrw_local_rmdir = '.g:netrw_local_rmdir
put = 'let g:netrw_longlist = '.g:netrw_longlist
put = 'let g:netrw_maxfilenamelen = '.g:netrw_maxfilenamelen
put = 'let g:netrw_mkdir_cmd = '.g:netrw_mkdir_cmd
put = 'let g:netrw_rename_cmd = '.g:netrw_rename_cmd
put = 'let g:netrw_rm_cmd = '.g:netrw_rm_cmd
put = 'let g:netrw_rmdir_cmd = '.g:netrw_rmdir_cmd
put = 'let g:netrw_rmf_cmd = '.g:netrw_rmf_cmd
put = 'let g:netrw_silent = '.g:netrw_silent
put = 'let g:netrw_sort_by = '.g:netrw_sort_by
put = 'let g:netrw_sort_direction = '.g:netrw_sort_direction
put = 'let g:netrw_sort_sequence = '.g:netrw_sort_sequence
put = 'let g:netrw_ssh_browse_reject = '.g:netrw_ssh_browse_reject
put = 'let g:netrw_timefmt = '.g:netrw_timefmt
put = 'let g:netrw_winsize = '.g:netrw_winsize
put =''
put ='+ For help, place cursor on line and press ?'
1d
silent %s/^+/"/e
res 99
silent %s/= \([^0-9].*\)$/= '\1'/e
silent %s/= $/= ''/e
1
set nomod
map <buffer> <silent> ? :call NetrwSettingHelp()<cr>
let tmpfile= tempname()
exe 'au BufWriteCmd Netrw\ Settings silent w! '.tmpfile.'|so '.tmpfile.'|call delete("'.tmpfile.'")|set nomod'
endfun
" ---------------------------------------------------------------------
" NetrwSettingHelp: {{{2
fun! NetrwSettingHelp()
" call Dfunc("NetrwSettingHelp()")
let curline = getline(".")
if curline =~ '='
let varhelp = substitute(curline,'^\s*let ','','e')
let varhelp = substitute(varhelp,'\s*=.*$','','e')
" call Decho("trying help ".varhelp)
try
exe "he ".varhelp
catch /^Vim\%((\a\+)\)\=:E149/
echo "***sorry*** no help available for <".varhelp.">"
endtry
elseif line(".") < s:netrw_settings_stop
he netrw-settings
elseif line(".") < s:netrw_protocol_stop
he netrw-externapp
elseif line(".") < s:netrw_xfer_stop
he netrw-variables
else
he netrw-browse-var
endif
" call Dret("NetrwSettingHelp")
endfun
" ---------------------------------------------------------------------
" Modelines: {{{1
" vim:ts=8 fdm=marker

View File

@@ -69,7 +69,7 @@ This procedure should work well:
change too much, the OpenOffice people are not stupid. However, you may
want to remove obvious mistakes. And remove single-letter words that
aren't really words, they mess up the suggestions (English has this
problem).
problem). You can use the "fixdup" Vim script to find duplicate words.
3. Make the diff file. "aap diff" will do this for you. If a diff would be
too big you might consider writing a Vim script to do systematic changes.

View File

@@ -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 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ 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 ----

79
runtime/spell/af/main.aap Normal file
View File

@@ -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 : $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 : $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
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 af_ZA.orig.aff af_ZA.aff >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 :

View File

63
runtime/spell/am/main.aap Normal file
View File

@@ -0,0 +1,63 @@
# Aap recipe for Amharic 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 = am_ET.aff am_ET.dic
all: $SPELLDIR/am.utf-8.spl ../README_am.txt
$SPELLDIR/am.utf-8.spl : $FILES
:sys env LANG=am_ET.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/am am_ET" -c q
../README_am.txt: README_am.txt
:copy $source $target
#
# Fetching the files from Hunspell.
#
HTTPDIR = http://hunspell.sourceforge.net
TARNAME = am-demo.tar.gz
:attr {fetch = $HTTPDIR/%file%} $TARNAME
# 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.
am_ET.aff am_ET.dic: {buildcheck=}
:assertpkg tar gzip
:fetch $TARNAME
:sys gzip -d -c $TARNAME | tar xf -
:move am/am.aff am_ET.aff
:move am/am.dic am_ET.dic
:move am/README README_am.txt
:delete {recursive} am
:delete $TARNAME
@if not os.path.exists('am_ET.orig.aff'):
:copy am_ET.aff am_ET.orig.aff
@if not os.path.exists('am_ET.orig.dic'):
:copy am_ET.dic am_ET.orig.dic
@if os.path.exists('am_ET.diff'):
:sys patch <am_ET.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 am_ET.orig.aff am_ET.aff >am_ET.diff
:sys {force} diff -a -C 1 am_ET.orig.dic am_ET.dic >>am_ET.diff
# Check for updated spell files. When there are changes the
# ".new.aff" and ".new.dic" files are left behind for manual inspection.
check:
:print Sorry, not implemented yet.
# vim: set sts=4 sw=4 :

View File

@@ -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 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
--- 1,2 ----
! SET cp1251
TRY <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
***************
*** 1682,1684 ****
! MAP 26
MAP <20><><EFBFBD>a
--- 1682,1684 ----
! MAP 25
MAP <20><><EFBFBD>a
***************
*** 1691,1695 ****
MAP <20><>
! MAP <20><>
MAP p<>
- MAP c<>
MAP x<>
--- 1691,1694 ----
MAP <20><>
! MAP c<><63>
MAP p<>
MAP x<>
***************
*** 1707,1709 ****
MAP P<>
- MAP Y<>
MAP X<>
--- 1706,1711 ----
MAP P<>
MAP X<>
+
+ REP 2
+ REP Y <20>
+ REP <20> Y

80
runtime/spell/bg/main.aap Normal file
View File

@@ -0,0 +1,80 @@
# Aap recipe for Bulgarian 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 : $FILES
:sys env LANG=bg_BG.CP1251 $VIM -u NONE -e -c "mkspell! $SPELLDIR/bg bg_BG" -c q
$SPELLDIR/bg.utf-8.spl : $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 -e -c "set ff=unix" -c update -c q
:sys $VIM bg_BG.dic -e -c "set ff=unix" -c update -c q
:sys $VIM README_bg_BG.txt -e -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
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 bg_BG.orig.aff bg_BG.aff >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 :

View File

@@ -0,0 +1,76 @@
*** ca_ES.orig.aff Sat Aug 13 18:33:44 2005
--- ca_ES.aff Sat Aug 13 18:33:44 2005
***************
*** 44,48 ****
! # substitucions preferides
! FIRST a/<2F> e/<2F>/<2F> <20>/<2F>/e <20>/<2F>/e i/<2F>/<2F> <20>/i/<2F> o/<2F>/<2F> <20>/<2F>/o <20>/<2F>/o u/<2F>/<2F> <20>/u/<2F> <20>/u/<2F>
! FIRST l/l<>l l<>l/l
--- 44,65 ----
! FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
! LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
! UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
!
! SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
! SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
!
! MIDWORD <09>-'
!
! MAP 6
! MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
! MAP e<><65><EFBFBD><EFBFBD>
! MAP i<><69><EFBFBD><EFBFBD>
! MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
! MAP u<><75><EFBFBD><EFBFBD>
! MAP c<>
!
! REP 2
! REP l l<>l
! REP l<>l l
*** ca_ES.orig.dic Sat Aug 13 18:33:44 2005
--- ca_ES.dic Sat Aug 13 18:33:44 2005
***************
*** 25312,25314 ****
caos/E
- cap
cap-rodo/E
--- 25312,25313 ----
***************
*** 35103,35105 ****
corrasi<73>/G
- corre
corre-corrents
--- 35102,35103 ----
***************
*** 99806,99808 ****
maj<61>scul/F
- mal
mal-llevat/E
--- 99804,99805 ----
***************
*** 107517,107519 ****
not<6F>riament
- nou
nou-centes/E
--- 107514,107515 ----
***************
*** 122687,122689 ****
rat<61>nia/E
- rau
rau-rau/E
--- 122683,122684 ----
***************
*** 139389,139391 ****
ta<74>t/E
- te
te'l
--- 139384,139385 ----
***************
*** 147590,147592 ****
vit<69>cola/E
- viu
viu-viu/E
--- 147584,147585 ----

81
runtime/spell/ca/main.aap Normal file
View File

@@ -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 : $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 : $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
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 ca_ES.orig.aff ca_ES.aff >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 :

783
runtime/spell/cs/cs_CZ.diff Normal file
View File

@@ -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 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
PFX N Y 1
***************
*** 2118,2120 ****
SFX A nout ly [aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]rnout
! SFX A nout l [aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r][^aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>rl][^aeiouy
SFX A nout l [aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r][^aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>rl]nout
--- 2122,2124 ----
SFX A nout ly [aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]rnout
! SFX A nout l [aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r][^aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>rl][^aeiouy]out
SFX A nout l [aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r][^aeiouy<75><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>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<63>/YCRN
--- 2944,2945 ----
***************
*** 3098,3100 ****
arogantn<74>/YKRN
- aroma
aroma/K
--- 3097,3098 ----
***************
*** 4753,4755 ****
banjo/MQ
- bank
banka/ZQ
--- 4751,4752 ----
***************
*** 5540,5542 ****
Bechy<68><79>k<EFBFBD>v/Y
- Bechyn<79>
Bechyn<79>/S
--- 5537,5538 ----
***************
*** 5945,5947 ****
bermudsk<73>/YRN
- Bermudy
Bermudy/ZQ
--- 5941,5942 ----
***************
*** 6111,6113 ****
Beust<73>v/Y
- bez
Bez<65>kov<6F>/Y
--- 6106,6107 ----
***************
*** 7294,7296 ****
bl<62>na/Z
- Blanc
Blanc/PV
--- 7288,7289 ----
***************
*** 9456,9458 ****
b<>ichovit<69>/YKR
- b<><62>m<EFBFBD>
b<><62>m<EFBFBD>/M
--- 9449,9450 ----
***************
*** 9667,9669 ****
budy<64><79>nsk<73>/Y
- bufet
bufet<65><74><EFBFBD>in/Y
--- 9659,9660 ----
***************
*** 9677,9679 ****
bufferov<6F>/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<6A>ma/PV
--- 13798,13799 ----
***************
*** 13816,13818 ****
d<>l/E
- d<>le
Daleck<63>/Y
--- 13803,13804 ----
***************
*** 13821,13823 ****
d<>le/E
- daleko
dalekohled/H
--- 13807,13808 ----
***************
*** 14082,14084 ****
datla
- datle
datlech
--- 14067,14068 ----
***************
*** 14756,14758 ****
dekura<72>n<EFBFBD>/YRN
- d<>l
delaborace/Z
--- 14740,14741 ----
***************
*** 15301,15303 ****
desater<65>k<EFBFBD>v/Y
- desatero
desatero/MQ
--- 15284,15285 ----
***************
*** 15716,15718 ****
devatern<72>k/H
- devatero
devatero/MQ
--- 15698,15699 ----
***************
*** 16152,16154 ****
DIK
- d<>k
dikalciumfosf<73>t/H
--- 16133,16134 ----
***************
*** 16603,16605 ****
Di<44>v/Y
- div
div<69>ck<63>/YKR
--- 16583,16584 ----
***************
*** 19886,19888 ****
dopola
- dopoledne
dopoledne/M
--- 19865,19866 ----
***************
*** 19970,19972 ****
doprat/ATN
- doprava
doprava/ZQ
--- 19948,19949 ----
***************
*** 22912,22914 ****
d<><64>v/E
- d<><64>ve
d<><64>ve<76>ko/MQ
--- 22889,22890 ----
***************
*** 26369,26371 ****
fakoemulsifikace/Z
- faksimile
faksimile/Z
--- 26345,26346 ----
***************
*** 27266,27268 ****
fim<69>za/ZQ
- fin<69>le
fin<69>le/Z
--- 27241,27242 ----
***************
*** 28101,28103 ****
foxtrotov<6F>/Y
- foyer
foyer/H
--- 28075,28076 ----
***************
*** 28759,28761 ****
Gajd<6A>v/Y
- Gal
gal
--- 28732,28733 ----
***************
*** 29060,29062 ****
gemovat/ATN
- gen
genci<63>nov<6F>/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<75>t<EFBFBD>nsk<73>/Y
- hloubi
hloubic<69>/Y
--- 32226,32227 ----
***************
*** 32612,32614 ****
Hock<63>/Y
- hod
Hod<6F>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<72>v/Y
- hus<75>
husice/ZQ
--- 34781,34782 ----
***************
*** 36441,36443 ****
ch<63>upav<61>/YKRN
- cht<68>
cht<68>je/XN
--- 36404,36405 ----
***************
*** 38569,38571 ****
jajaj
- jak
jak<61>koli
--- 38531,38532 ----
***************
*** 39323,39325 ****
jedn<64>/N
- jedni
jednice/ZQ
--- 39284,39285 ----
***************
*** 39534,39536 ****
jednot<6F>denn<6E>/YR
- jednou
jedno<6E><6F>elov<6F>/YRN
--- 39494,39495 ----
***************
*** 39717,39719 ****
jemu<6D>
- jen
Jena/ZQ
--- 39676,39677 ----
***************
*** 39755,39757 ****
jen/N
- jenom
jenom/N
--- 39713,39714 ----
***************
*** 40149,40151 ****
jin<69><6E>/S
- jinak
jinak/N
--- 40106,40107 ----
***************
*** 41317,41319 ****
Kalist<73>v/Y
- Kali<6C>
kal<61><6C>ek/Q
--- 41273,41274 ----
***************
*** 42861,42863 ****
kde<64>to
- kdo
kdoj<6F>jak
--- 42816,42817 ----
***************
*** 44048,44050 ****
Kls<6C>k<EFBFBD>v/Y
- klub
klubaj<61>c<EFBFBD>/YN
--- 44002,44003 ----
***************
*** 44235,44237 ****
Kne<6E><65>v/Y
- kn<6B>z
kn<6B>ze
--- 44188,44189 ----
***************
*** 45007,45009 ****
kolik
- kolika
kolikacifern<72>/YKRN
--- 44959,44960 ----
***************
*** 46292,46294 ****
kontinuum/MQ
- konto
kontokorent/H
--- 46243,46244 ----
***************
*** 47152,47154 ****
kosmopolit<69>v/Y
- kosmos
kosmos/Q
--- 47102,47103 ----
***************
*** 51844,51846 ****
Leclanche<68>v/Y
- le<6C>
l<><6C>ba/ZQ
--- 51793,51794 ----
***************
*** 52449,52451 ****
le<6C>tiv<69>/YKRN
- let
l<>tac<61>/YN
--- 52397,52398 ----
***************
*** 54351,54353 ****
l<>j
- luk
Luk<75><6B>ov<6F>/Y
--- 54298,54299 ----
***************
*** 55408,55410 ****
Mallorca/ZQ
- m<>lo
malobur<75>oasie/Z
--- 55354,55355 ----
***************
*** 55574,55576 ****
mamut<75>v/Y
- Man
m<>/N
--- 55519,55520 ----
***************
*** 55852,55854 ****
Maputo/MQ
- marabu
marabu/PV
--- 55796,55797 ----
***************
*** 57254,57256 ****
Mendl<64>v/Y
- m<>n<EFBFBD>
m<>n<EFBFBD>cenn<6E>j<EFBFBD><6A>/YRW
--- 57197,57198 ----
***************
*** 58358,58360 ****
milen<65>/YN
- miler<65>d
miler<65>d/O
--- 58300,58301 ----
***************
*** 59426,59428 ****
moc<6F>m
- mocip<69>n
mocip<69>na
--- 59367,59368 ----
***************
*** 60833,60835 ****
Much<63>v/Y
- m<>j
m<>j/Y
--- 60773,60774 ----
***************
*** 62308,62310 ****
nadplocha/ZQ
- nadpo<70>et
nadpo<70>etn<74>j<EFBFBD><6A>/YRW
--- 62247,62248 ----
***************
*** 66114,66116 ****
nava<76>uj<75>c<EFBFBD>/YN
- nave<76>er
nave<76>er/L
--- 66052,66053 ----
***************
*** 66581,66583 ****
nebes
- nebesa
nebesa/MQ
--- 66518,66519 ----
***************
*** 68080,68082 ****
noblesn<73>/YKR
- noc
nocemi
--- 68016,68017 ----
***************
*** 68562,68564 ****
novum/MQ
- Nov<6F>
Nov<6F>/Y
--- 68497,68498 ----
***************
*** 73018,73020 ****
odpojov<6F>vat/JTN
- odpoledne
odpoledne/M
--- 72952,72953 ----
***************
*** 73121,73123 ****
odpra<72>ovat/ATN
- odprava
odprava/ZQ
--- 73054,73055 ----
***************
*** 76145,76147 ****
oosf<73>ra/ZQ
- op
op<6F><70>en<65>/SN
--- 76077,76078 ----
***************
*** 78040,78042 ****
ost<73>ihnout/ATN
- Ost<73>ihom
Ost<73>ihom/K
--- 77971,77972 ----
***************
*** 80117,80121 ****
pantheistick<63>/YCR
- pantofel
pantofel/Q
- pantofle
pantoflemi
--- 80047,80049 ----
***************
*** 80258,80260 ****
par
- p<>r
paraamfibolit/H
--- 80186,80187 ----
***************
*** 81414,81416 ****
PE
- pec
peca<63>/U
--- 81341,81342 ----
***************
*** 82720,82722 ****
pianist<73>v/Y
- piano
pi<70>no/MQ
--- 82646,82647 ----
***************
*** 83321,83323 ****
pizzerie/Z
- pizzicato
pizzicato/MQ
--- 83246,83247 ----
***************
*** 83731,83733 ****
plebiscit/H
- plebs
plebse
--- 83655,83656 ----
***************
*** 83833,83835 ****
Pleskot<6F>v/Y
- plesky
plesky/H
--- 83756,83757 ----
***************
*** 85861,85863 ****
pod<6F>ad<61>n<EFBFBD>/SN
- pod<6F>ad<61>n<EFBFBD>
pod<6F>ad<61>n<EFBFBD>/YKRN
--- 85783,85784 ----
***************
*** 89077,89079 ****
pop<6F><70>vat/JN
- pop<6F>ed<65>
pop<6F>ed<65>/S
--- 88998,88999 ----
***************
*** 91358,91360 ****
pozab<61>jet/JTN
- pozad<61>
pozad<61>/S
--- 91278,91279 ----
***************
*** 91783,91785 ****
pr<70>ceschopn<70>/YKR
- prac<61>
pr<70>ci
--- 91702,91703 ----
***************
*** 92176,92178 ****
prav<61>k<EFBFBD>/YKR
- pr<70>vem
pr<70>vem/N
--- 92094,92095 ----
***************
*** 95377,95379 ****
prosp<73>vat/JTN
- prosp<73>ch
prosp<73>ch<63>n<EFBFBD>/SN
--- 95294,95295 ----
***************
*** 105195,105197 ****
p<>ldenn<6E>/YR
- p<>ldne
p<>ldnech
--- 105111,105112 ----
***************
*** 105216,105218 ****
p<>ldruh<75>/Y
- p<>le
pulec/U
--- 105131,105132 ----
***************
*** 106257,106259 ****
r<>mcov<6F>/YR
- r<>m<EFBFBD>
r<>mec/S
--- 106171,106172 ----
***************
*** 109304,109306 ****
rozd<7A>luj<75>c<EFBFBD>/YN
- rozd<7A>l
rozd<7A>len<65>/SN
--- 109217,109218 ----
***************
*** 113029,113031 ****
R<>r/H
- Rus
rusal<61><6C>/Y
--- 112941,112942 ----
***************
*** 113124,113126 ****
ru<72>tina/ZQ
- R<>t
R<>ta/PV
--- 113035,113036 ----
***************
*** 115104,115106 ****
scezovat/ATN
- science
science/Z
--- 115014,115015 ----
***************
*** 115723,115725 ****
sedmer<65>e/K
- sedmero
sedmero/MQ
--- 115632,115633 ----
***************
*** 116249,116251 ****
S<>m<EFBFBD>v/Y
- sen
sena<6E>/PI
--- 116157,116158 ----
***************
*** 116962,116964 ****
se<73>vindlovat/ATN
- set
setba/ZQ
--- 116869,116870 ----
***************
*** 117786,117788 ****
Sik<69>v/Y
- sil
sil<69>ck<63>/YKRN
--- 117692,117693 ----
***************
*** 121635,121637 ****
spatn<74>/YKR
- spatra
spatra/ZQ
--- 121540,121541 ----
***************
*** 121887,121889 ****
sp<73><70>
- sp<73><70>e
sp<73><70>e/E
--- 121791,121792 ----
***************
*** 122323,122325 ****
spolupr<70>ce/N
- spolupr<70>ci
spoluprac<61>ch/N
--- 122226,122227 ----
***************
*** 122890,122892 ****
srovnan<61>j<EFBFBD><6A>/YRW
- srovn<76>n<EFBFBD>
srovn<76>n<EFBFBD>/SN
--- 122792,122793 ----
***************
*** 129987,129989 ****
<20>unt/H
- <20>up
<20>up<75>ck<63>/YKR
--- 129888,129889 ----
***************
*** 130427,130429 ****
takovouto
- takov<6F>
takov<6F>chto
--- 130327,130328 ----
***************
*** 131190,131192 ****
tem<65>sk<73>/Y
- ten
tenata/MQ
--- 131089,131090 ----
***************
*** 131958,131960 ****
tich<63>/YKRO
- tik
tikaj<61>c<EFBFBD>/YN
--- 131856,131857 ----
***************
*** 132541,132543 ****
Tomasch<63>v/Y
- Tom<6F><6D>
Tom<6F><6D>ek/PV
--- 132438,132439 ----
***************
*** 133890,133892 ****
Trubsk<73>/Y
- truc
truc/H
--- 133786,133787 ----
***************
*** 134057,134059 ****
t<><74>st/IN
- t<>eba
t<>eba/N
--- 133952,133953 ----
***************
*** 135024,135026 ****
tvrz/Z
- tv<74>j
tv<74>j/Y
--- 134918,134919 ----
***************
*** 135532,135534 ****
<20><>esov<6F>/YR
- <20><>et
<20><>etnick<63>/YRN
--- 135425,135426 ----
***************
*** 139620,139622 ****
uzamknut<75>/SN
- uzamknut<75>
uzamknut<75>/YKRN
--- 139512,139513 ----
***************
*** 141624,141626 ****
Verdol<6F>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<69><73>/Z
- v<>rno
v<>rno/N
--- 141555,141556 ----
***************
*** 141671,141676 ****
vernovka/ZQ
- v<>rnu
v<>rnu/N
Vern<72>v/Y
- v<>rny
v<>rny/N
--- 141558,141561 ----
***************
*** 141924,141926 ****
vetknut<75>/SN
- vetknut<75>
vetknut<75>/YKRN
--- 141809,141810 ----
***************
*** 142117,142119 ****
vhlouben<65>/YKRN
- vhloubit
vhloubit/ATN
--- 142001,142002 ----
***************
*** 144104,144106 ****
Vold<6C>n<EFBFBD>v/Y
- vole
volebn<62>/YR
--- 143987,143988 ----
***************
*** 144409,144411 ****
Vot<6F>pk<70>v/Y
- vous
vous<75><73>/U
--- 144291,144292 ----
***************
*** 144952,144954 ****
vrtulov<6F>/YR
- vrub
vrub/H
--- 144833,144834 ----
***************
*** 144979,144981 ****
vr<76>vav<61>/YR
- vrz
Vrz<72><7A>ek/PV
--- 144859,144860 ----
***************
*** 151330,151332 ****
vytknut<75>/SN
- vytknut<75>
vytknut<75>/YRN
--- 151209,151210 ----
***************
*** 151927,151929 ****
vyvrhnut<75>/SN
- vyvrhnut<75>
vyvrhnut<75>/YKRN
--- 151805,151806 ----
***************
*** 152435,152437 ****
vzd<7A>l<EFBFBD>vat/JTN
- vzdor
vzdor/H
--- 152312,152313 ----
***************
*** 156040,156042 ****
zamknut<75>/SN
- zamknut<75>
zamknut<75>/YKRN
--- 155916,155917 ----
***************
*** 157795,157797 ****
zastonejte/N
- zastoupen<65>
zastoupen<65>/SN
--- 157670,157671 ----
***************
*** 160364,160366 ****
zeb<65><62>/Y
- zebu
zebu/BN
--- 160238,160239 ----
***************
*** 166409,166411 ****
<20>mu<6D>
- <20>nec
<20>nec/U
--- 166282,166283 ----

81
runtime/spell/cs/main.aap Normal file
View File

@@ -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 : $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 : $FILES
:sys env LANG=cs_CZ.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/cs cs_CZ" -c q
$SPELLDIR/cs.cp1250.spl : $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
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 cs_CZ.orig.aff cs_CZ.aff >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 :

View File

@@ -0,0 +1,9 @@
*** cy_GB.orig.aff Wed Aug 31 21:42:03 2005
--- cy_GB.aff Wed Aug 31 21:43:10 2005
***************
*** 81,82 ****
--- 81,84 ----
+ MIDWORD '-
+
PFX M Y 18

82
runtime/spell/cy/main.aap Normal file
View File

@@ -0,0 +1,82 @@
# Aap recipe for Welsh 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 = cy_GB.aff cy_GB.dic
all: $SPELLDIR/cy.iso-8859-14.spl $SPELLDIR/cy.utf-8.spl \
../README_cy.txt
$SPELLDIR/cy.iso-8859-14.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=iso-8859-14"
-c "mkspell! $SPELLDIR/cy cy_GB" -c q
$SPELLDIR/cy.utf-8.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=utf-8"
-c "mkspell! $SPELLDIR/cy cy_GB" -c q
../README_cy.txt : README_cy_GB.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%} cy_GB.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.
cy_GB.aff cy_GB.dic: {buildcheck=}
:assertpkg unzip patch
:fetch cy_GB.zip
:sys $UNZIP cy_GB.zip
:delete cy_GB.zip
:sys $VIM cy_GB.aff -e -c "set ff=unix" -c update -c q
:sys $VIM cy_GB.dic -e -c "set ff=unix" -c update -c q
:sys $VIM README_cy_GB.txt -e -c "set ff=unix" -c update -c q
@if not os.path.exists('cy_GB.orig.aff'):
:copy cy_GB.aff cy_GB.orig.aff
@if not os.path.exists('cy_GB.orig.dic'):
:copy cy_GB.dic cy_GB.orig.dic
@if os.path.exists('cy_GB.diff'):
:sys patch <cy_GB.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 cy_GB.orig.aff cy_GB.aff >cy_GB.diff
:sys {force} diff -a -C 1 cy_GB.orig.dic cy_GB.dic >>cy_GB.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 cy_GB.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../cy_GB.zip
:sys {force} diff ../cy_GB.orig.aff cy_GB.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy cy_GB.aff ../cy_GB.new.aff
:sys {force} diff ../cy_GB.orig.dic cy_GB.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy cy_GB.dic ../cy_GB.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete cy_GB.zip
# vim: set sts=4 sw=4 :

View File

@@ -0,0 +1,16 @@
*** da_DK.orig.aff Sun Aug 14 20:04:31 2005
--- da_DK.aff Mon Aug 15 14:03:06 2005
***************
*** 6,7 ****
--- 6,16 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '-
+
# Foranstilling af u-

79
runtime/spell/da/main.aap Normal file
View File

@@ -0,0 +1,79 @@
# Aap recipe for Danish 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 : $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 : $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
:delete contributors COPYING Makefile da_DK.excluded
@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
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 da_DK.orig.aff da_DK.aff >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 :

View File

@@ -0,0 +1,27 @@
*** de_19.orig.aff Thu Aug 25 11:22:08 2005
--- de_19.aff Thu Aug 25 11:25:21 2005
***************
*** 3,4 ****
--- 3,24 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '
+
+ MAP 9
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ MAP e<><65><EFBFBD><EFBFBD>
+ MAP i<><69><EFBFBD><EFBFBD>
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
+ MAP u<><75><EFBFBD><EFBFBD>
+ MAP n<>
+ MAP c<>
+ MAP y<><79>
+ MAP s<>
+
# (c) copyright by Bjoern Jacke <bjoern@j3e.de>

View File

@@ -0,0 +1,28 @@
*** de_20.orig.aff Thu Aug 25 11:22:14 2005
--- de_20.aff Thu Aug 25 11:22:14 2005
***************
*** 2,3 ****
--- 2,24 ----
TRY esianrtolcdugmphbyfvkw<6B><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ESIANRTOLCDUGMPHBYFVKW<4B><57><EFBFBD>
+
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '
+
+ MAP 9
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ MAP e<><65><EFBFBD><EFBFBD>
+ MAP i<><69><EFBFBD><EFBFBD>
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
+ MAP u<><75><EFBFBD><EFBFBD>
+ MAP n<>
+ MAP c<>
+ MAP y<><79>
+ MAP s<>
+
#

View File

@@ -0,0 +1,53 @@
*** de_AT.orig.aff Thu Aug 25 11:22:16 2005
--- de_AT.aff Thu Aug 25 11:22:16 2005
***************
*** 3,4 ****
--- 3,24 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '
+
+ MAP 9
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ MAP e<><65><EFBFBD><EFBFBD>
+ MAP i<><69><EFBFBD><EFBFBD>
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
+ MAP u<><75><EFBFBD><EFBFBD>
+ MAP n<>
+ MAP c<>
+ MAP y<><79>
+ MAP s<>
+
*** de_AT.orig.dic Thu Aug 25 11:22:16 2005
--- de_AT.dic Thu Aug 25 11:24:01 2005
***************
*** 18,20 ****
Fleischb<68>nke/N
- Fleischbank
Fleischhauer/NS
--- 18,19 ----
***************
*** 151,153 ****
zulieb
- 77857
<20>bte/N
--- 150,151 ----
***************
*** 18792,18794 ****
Geschwulstherde
- Geselchte/N
Geselle/N
--- 18790,18791 ----
***************
*** 20472,20474 ****
HTML
- H<>fen
H<>ftling/EPS
--- 20469,20470 ----

View File

@@ -0,0 +1,27 @@
*** de_CH.orig.aff Thu Aug 25 11:22:18 2005
--- de_CH.aff Thu Aug 25 11:22:18 2005
***************
*** 3,4 ****
--- 3,24 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '
+
+ MAP 9
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ MAP e<><65><EFBFBD><EFBFBD>
+ MAP i<><69><EFBFBD><EFBFBD>
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
+ MAP u<><75><EFBFBD><EFBFBD>
+ MAP n<>
+ MAP c<>
+ MAP y<><79>
+ MAP s<>
+

View File

@@ -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 Thu Aug 25 11:22:06 2005
--- de_DE.aff Thu Aug 25 11:22:06 2005
***************
*** 2,3 ****
--- 2,24 ----

View File

@@ -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,78 +15,176 @@
@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
all: $(SPELLDIR)/de.latin1.spl $(SPELLDIR)/de.utf-8.spl ../README_de.txt
SPELLDIR = ..
FILES = de_$*(REGIONS).aff de_$*(REGIONS).dic
$(SPELLDIR)/de.latin1.spl : $(VIM) $(FILES)
ZIPFILE_DE = de_DE_comb.zip
ZIPFILE_19 = de_OLDSPELL.zip
ZIPFILE_20 = de_DE_neu.zip
ZIPFILE_AT = de_DE.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
$SPELLDIR/de.latin1.spl : $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 : $FILES
:sys env LANG=de_DE.UTF-8
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/de de_DE" -c q
$VIM -u NONE -e -c "mkspell! $SPELLDIR/de $DE_REGIONS" -c q
../README_de.txt: README_de_DE_comb.txt
:copy $source $target
../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 =================================================== >>$target
:print de_CH (Swiss) >> $target
:cat README_de_CH.txt >> $target
#
# Fetching the files from OpenOffice.org.
# Fetching the files from the OpenOffice.org site.
# The OLDSPELL file comes from elsewhere
#
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
:attr {fetch = $(OODIR)/%file%} $(ZIPFILE)
DEDIR = http://www.j3e.de/myspell
:attr {fetch = $OODIR/%file%} $ZIPFILES
:attr {fetch = $DEDIR/%file%} $ZIPFILE_19
# 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.
de_DE.aff de_DE.dic: {buildcheck=}
:assertpkg unzip patch
:fetch $(ZIPFILE)
:sys $(UNZIP) $(ZIPFILE)
:delete $(ZIPFILE)
:fetch $ZIPFILE_DE
:sys $UNZIP $ZIPFILE_DE
:delete $ZIPFILE_DE
:move de_DE_comb.aff de_DE.aff
:move de_DE_comb.dic de_DE.dic
:move README_de_DE_comb.txt README_de_DE.txt
@if not os.path.exists('de_DE.orig.aff'):
:copy de_DE.aff de_DE.orig.aff
:copy de_DE.aff de_DE.orig.aff
@if not os.path.exists('de_DE.orig.dic'):
:copy de_DE.dic de_DE.orig.dic
:copy de_DE.dic de_DE.orig.dic
@if os.path.exists('de_DE.diff'):
:sys patch <de_DE.diff
de_19.aff de_19.dic: {buildcheck=}
:assertpkg unzip patch
:fetch $ZIPFILE_19
:sys $UNZIP $ZIPFILE_19
:delete $ZIPFILE_19
:move de_OLDSPELL.aff de_19.aff
:move de_OLDSPELL.dic de_19.dic
# there is no README file
:print There is no README file for the old spelling >!README_de_19.txt
@if not os.path.exists('de_19.orig.aff'):
:copy de_19.aff de_19.orig.aff
@if not os.path.exists('de_19.orig.dic'):
:copy de_19.dic de_19.orig.dic
@if os.path.exists('de_19.diff'):
:sys patch <de_19.diff
de_20.aff de_20.dic: {buildcheck=}
:assertpkg unzip patch
:fetch $ZIPFILE_20
:sys $UNZIP $ZIPFILE_20
:delete $ZIPFILE_20
:move de_DE_neu.aff de_20.aff
:move de_DE_neu.dic de_20.dic
:move README_de_DE_neu.txt README_de_20.txt
@if not os.path.exists('de_20.orig.aff'):
:copy de_20.aff de_20.orig.aff
@if not os.path.exists('de_20.orig.dic'):
:copy de_20.dic de_20.orig.dic
@if os.path.exists('de_20.diff'):
:sys patch <de_20.diff
# The de_AT.dic is included in de_DE.zip. We rename the files and concatenate
# them. Complication is that de_AT.dic is missing a newline at the end.
# And the de_DE.dic file is used for something else.
de_AT.aff de_AT.dic: {buildcheck=}
:assertpkg unzip patch
# Move de_DE files out of the way.
@if os.path.exists('de_DE.aff'):
:move de_DE.aff de_DE.temp.aff
@if os.path.exists('de_DE.dic'):
:move de_DE.dic de_DE.temp.dic
@if os.path.exists('README_de_DE.txt'):
:move README_de_DE.txt README_de_DE.temp.txt
:fetch $ZIPFILE_AT
:sys $UNZIP $ZIPFILE_AT
:delete $ZIPFILE_AT
:print >>de_AT.dic
:cat de_DE.dic >>de_AT.dic
:delete de_DE.dic
:move de_DE.aff de_AT.aff
:move README_de_DE.txt README_de_AT.txt
@if os.path.exists('de_DE.temp.aff'):
:move de_DE.temp.aff de_DE.aff
@if os.path.exists('de_DE.temp.dic'):
:move de_DE.temp.dic de_DE.dic
@if os.path.exists('README_de_DE.temp.txt'):
:move README_de_DE.temp.txt README_de_DE.txt
@if not os.path.exists('de_AT.orig.aff'):
:copy de_AT.aff de_AT.orig.aff
@if not os.path.exists('de_AT.orig.dic'):
:copy de_AT.dic de_AT.orig.dic
@if os.path.exists('de_AT.diff'):
:sys patch <de_AT.diff
de_CH.aff de_CH.dic: {buildcheck=}
:assertpkg unzip patch
:fetch $ZIPFILE_CH
:sys $UNZIP $ZIPFILE_CH
:delete $ZIPFILE_CH
@if not os.path.exists('de_CH.orig.aff'):
:copy de_CH.aff de_CH.orig.aff
@if not os.path.exists('de_CH.orig.dic'):
:copy de_CH.dic de_CH.orig.dic
@if os.path.exists('de_CH.diff'):
:sys patch <de_CH.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 de_DE.orig.aff de_DE.aff >de_DE.diff
:sys {force} diff -a -C 1 de_DE.orig.dic de_DE.dic >>de_DE.diff
:sys {force} diff -a -C 1 de_19.orig.aff de_19.aff >de_19.diff
:sys {force} diff -a -C 1 de_19.orig.dic de_19.dic >>de_19.diff
:sys {force} diff -a -C 1 de_20.orig.aff de_20.aff >de_20.diff
:sys {force} diff -a -C 1 de_20.orig.dic de_20.dic >>de_20.diff
:sys {force} diff -a -C 1 de_AT.orig.aff de_AT.aff >de_AT.diff
:sys {force} diff -a -C 1 de_AT.orig.dic de_AT.dic >>de_AT.diff
:sys {force} diff -a -C 1 de_CH.orig.aff de_CH.aff >de_CH.diff
:sys {force} diff -a -C 1 de_CH.orig.dic de_CH.dic >>de_CH.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 $(ZIPFILE)
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../$(ZIPFILE)
:move de_DE_comb.aff de_DE.aff
:move de_DE_comb.dic de_DE.dic
:sys {force} diff ../de_DE.orig.aff de_DE.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy de_DE.aff ../de_DE.new.aff
:sys {force} diff ../de_DE.orig.dic de_DE.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy de_DE.dic ../de_DE.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete $(ZIPFILE)
:print TODO!!!!
# vim: set sts=4 sw=4 :

View File

78
runtime/spell/el/main.aap Normal file
View File

@@ -0,0 +1,78 @@
# Aap recipe for Greek 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 = el_GR.aff el_GR.dic
all: $SPELLDIR/el.iso-8859-7.spl $SPELLDIR/el.utf-8.spl ../README_el.txt
$SPELLDIR/el.iso-8859-7.spl : $FILES
:sys env LANG=el_GR.ISO8859-7
$VIM -u NONE -e -c "mkspell! $SPELLDIR/el el_GR" -c q
$SPELLDIR/el.utf-8.spl : $FILES
:sys env LANG=el_GR.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/el el_GR" -c q
../README_el.txt : README_el_GR.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%} el_GR.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.
el_GR.aff el_GR.dic: {buildcheck=}
:assertpkg unzip patch
:fetch el_GR.zip
:sys $UNZIP el_GR.zip
:delete el_GR.zip
@if not os.path.exists('el_GR.orig.aff'):
:copy el_GR.aff el_GR.orig.aff
@if not os.path.exists('el_GR.orig.dic'):
:copy el_GR.dic el_GR.orig.dic
@if os.path.exists('el_GR.diff'):
:sys patch <el_GR.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 el_GR.orig.aff el_GR.aff >el_GR.diff
:sys {force} diff -a -C 1 el_GR.orig.dic el_GR.dic >>el_GR.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 el_GR.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../el_GR.zip
:sys {force} diff ../el_GR.orig.aff el_GR.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy el_GR.aff ../el_GR.new.aff
:sys {force} diff ../el_GR.orig.dic el_GR.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy el_GR.dic ../el_GR.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete el_GR.zip
# vim: set sts=4 sw=4 :

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -2352,7 +2352,7 @@
! SFX 3 o ist's o
! SFX 3 0 ist's [^eoy]
*** en_AU.orig.dic Fri Apr 15 13:20:36 2005
--- en_AU.dic Sun Jul 3 17:11:07 2005
--- en_AU.dic Tue Aug 16 17:03:44 2005
***************
*** 912,914 ****
Alaska/M
@@ -2603,25 +2603,26 @@
Vilnius/M
! vim/M
vinaigrette/MS
--- 43742,43744 ----
--- 43742,43745 ----
Vilnius/M
! Vim/M
! vim/?
vinaigrette/MS
***************
*** 45494,45496 ****
yippee
- y/K
YMCA
--- 45487,45488 ----
--- 45488,45489 ----
***************
*** 45586,45588 ****
zap/SGRD
- z/d
Zealanders
--- 45578,45579 ----
--- 45579,45580 ----
***************
*** 45655 ****
--- 45646,45653 ----
--- 45647,45654 ----
zymurgy/S
+ nd
+ the the/!

View File

@@ -165,7 +165,7 @@
! SFX G 0 ing [^e]
*** en_CA.orig.dic Sat Apr 16 14:40:06 2005
--- en_CA.dic Sun Jul 3 17:09:40 2005
--- en_CA.dic Tue Aug 16 17:03:55 2005
***************
*** 46,48 ****
R/G
@@ -405,6 +405,15 @@
+ Moolenaar/M
Bresenham/M
***************
*** 40455,40457 ****
proneness/MS
! transl
Conchita/M
--- 40454,40456 ----
proneness/MS
! transl.
Conchita/M
***************
*** 50272,50273 ****
--- 50271,50273 ----
Dutch/M
@@ -415,19 +424,20 @@
hatchery/MS
! vim/SM
compatriot/MS
--- 52565,52567 ----
--- 52565,52568 ----
hatchery/MS
! Vim/SM
! vim/?
compatriot/MS
***************
*** 53490,53491 ****
--- 53490,53492 ----
--- 53491,53493 ----
unsearchable
+ searchable
felicitous/IY
***************
*** 62341 ****
--- 62342,62349 ----
--- 62343,62350 ----
data/M
+ et al.
+ the the/!

View File

@@ -2356,7 +2356,7 @@
! SFX 3 o ist's o
! SFX 3 0 ist's [^eoy]
*** en_GB.orig.dic Sun Jul 3 18:05:07 2005
--- en_GB.dic Sun Jul 3 18:19:25 2005
--- en_GB.dic Tue Aug 16 17:05:18 2005
***************
*** 630,632 ****
Byrne/M
@@ -2482,7 +2482,7 @@
vindaloo/S
--- 30760,30763 ----
villein/SM
! vim/M?
! vim/?
! Vim/M
vindaloo/S
***************

View File

@@ -2353,7 +2353,7 @@
! SFX 3 o ist's o
! SFX 3 0 ist's [^eoy]
*** en_NZ.orig.dic Fri Apr 15 13:20:36 2005
--- en_NZ.dic Sun Jul 3 17:11:34 2005
--- en_NZ.dic Tue Aug 16 17:05:28 2005
***************
*** 4,6 ****
2ZB
@@ -2591,82 +2591,83 @@
Vilnius/M
! vim/M
vinaigrette/MS
--- 44313,44315 ----
--- 44313,44316 ----
Vilnius/M
! Vim/M
! vim/?
vinaigrette/MS
***************
*** 45906,45908 ****
y'all
- prey/M
yacht/M5SmGD
--- 45885,45886 ----
--- 45886,45887 ----
***************
*** 46198,46200 ****
rata/M
- kaka/M
waka/M
--- 46176,46177 ----
--- 46177,46178 ----
***************
*** 46216,46218 ****
jandal/MS
- Swanndri/M
hoon/MS
--- 46193,46194 ----
--- 46194,46195 ----
***************
*** 46242,46244 ****
Invercargill/M
- Te
Alexandra/M
--- 46218,46219 ----
--- 46219,46220 ----
***************
*** 46261,46263 ****
Kawerau/M
- Kerikeri/M
Lyttelton/M
--- 46236,46237 ----
--- 46237,46238 ----
***************
*** 46491,46493 ****
Waianakarua
- Hakatere
Swin
--- 46465,46466 ----
--- 46466,46467 ----
***************
*** 46690,46692 ****
Omarama/M
- Wairarapa/M
Kilda/M
--- 46663,46664 ----
--- 46664,46665 ----
***************
*** 46711,46713 ****
Wellsford/M
- Akaroa/M
Avonhead/M
--- 46683,46684 ----
--- 46684,46685 ----
***************
*** 46838,46840 ****
Ballantyne's
- DB
Monteith's
--- 46809,46810 ----
--- 46810,46811 ----
***************
*** 46920,46922 ****
Egmont/M
- Waitaki/M
katipo/M
--- 46890,46891 ----
--- 46891,46892 ----
***************
*** 46956,46958 ****
Sunnyside/M
- Wairau/M
Waikoropupu
--- 46925,46926 ----
--- 46926,46927 ----
***************
*** 47141,47142 ****
Burkina
! Faso/M
\ No newline at end of file
--- 47109,47117 ----
--- 47110,47118 ----
Burkina
! Faso/M
! nd

View File

@@ -172,7 +172,7 @@
+ REP ie y
REP i ee
*** en_US.orig.dic Fri Apr 15 13:20:36 2005
--- en_US.dic Sun Jul 3 16:59:28 2005
--- en_US.dic Tue Aug 16 17:03:31 2005
***************
*** 5944,5946 ****
bk
@@ -467,6 +467,15 @@
! sings
sybarite/MS
***************
*** 56906,56908 ****
transit/SGVMD
! transl
translatability/M
--- 56905,56907 ----
transit/SGVMD
! transl.
translatability/M
***************
*** 57728,57730 ****
TX
! t/XTJBG
@@ -501,16 +510,17 @@
vi/MDR
! vim/MS
vinaigrette/MS
--- 59537,59539 ----
--- 59537,59540 ----
vi/MDR
! Vim/MS
! vim/?
vinaigrette/MS
***************
*** 61534,61536 ****
WWW
! w/XTJGV
WY
--- 61533,61536 ----
--- 61534,61537 ----
WWW
! wens
! wings
@@ -520,19 +530,19 @@
yew/SM
- y/F
Yggdrasil/M
--- 61750,61751 ----
--- 61751,61752 ----
***************
*** 62058,62060 ****
Zsigmondy/M
! z/TGJ
Zubenelgenubi/M
--- 62057,62059 ----
--- 62058,62060 ----
Zsigmondy/M
! zings
Zubenelgenubi/M
***************
*** 62077 ****
--- 62076,62083 ----
--- 62077,62084 ----
zymurgy/S
+ nd
+ the the/!

View File

@@ -13,21 +13,21 @@ FILES = en_US.aff en_US.dic
en_GB.aff en_GB.dic
en_NZ.aff en_NZ.dic
all: $(SPELLDIR)/en.latin1.spl $(SPELLDIR)/en.utf-8.spl \
$(SPELLDIR)/en.ascii.spl ../README_en.txt
all: $SPELLDIR/en.latin1.spl $SPELLDIR/en.utf-8.spl \
$SPELLDIR/en.ascii.spl ../README_en.txt
$(SPELLDIR)/en.latin1.spl : $(VIM) $(FILES)
$SPELLDIR/en.latin1.spl : $FILES
:sys env LANG=en_US.ISO8859-1
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/en
$VIM -u NONE -e -c "mkspell! $SPELLDIR/en
en_US en_AU en_CA en_GB en_NZ" -c q
$(SPELLDIR)/en.utf-8.spl : $(VIM) $(FILES)
$SPELLDIR/en.utf-8.spl : $FILES
:sys env LANG=en_US.UTF-8
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/en
$VIM -u NONE -e -c "mkspell! $SPELLDIR/en
en_US en_AU en_CA en_GB en_NZ" -c q
$(SPELLDIR)/en.ascii.spl : $(VIM) $(FILES)
:sys $(VIM) -u NONE -e -c "mkspell! -ascii $(SPELLDIR)/en
$SPELLDIR/en.ascii.spl : $FILES
:sys $VIM -u NONE -e -c "mkspell! -ascii $SPELLDIR/en
en_US en_AU en_CA en_GB en_NZ" -c q
../README_en.txt: README_en_US.txt README_en_AU.txt
@@ -50,7 +50,7 @@ $(SPELLDIR)/en.ascii.spl : $(VIM) $(FILES)
# Fetching the files from OpenOffice.org.
#
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
:attr {fetch = $(OODIR)/%file%} en_US.zip en_CA.zip en_NZ.zip
:attr {fetch = $OODIR/%file%} en_US.zip en_CA.zip en_NZ.zip
en_GB.zip en_AU.zip
# The files don't depend on the .zip file so that we can delete it.
@@ -58,61 +58,61 @@ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionari
en_US.aff en_US.dic: {buildcheck=}
:assertpkg unzip patch
:fetch en_US.zip
:sys $(UNZIP) en_US.zip
:sys $UNZIP en_US.zip
:delete en_US.zip
@if not os.path.exists('en_US.orig.aff'):
:copy en_US.aff en_US.orig.aff
:copy en_US.aff en_US.orig.aff
@if not os.path.exists('en_US.orig.dic'):
:copy en_US.dic en_US.orig.dic
:copy en_US.dic en_US.orig.dic
@if os.path.exists('en_US.diff'):
:sys patch <en_US.diff
en_AU.aff en_AU.dic: {buildcheck=}
:assertpkg unzip patch
:fetch en_AU.zip
:sys $(UNZIP) en_AU.zip
:sys $UNZIP en_AU.zip
:delete en_AU.zip
@if not os.path.exists('en_AU.orig.aff'):
:copy en_AU.aff en_AU.orig.aff
:copy en_AU.aff en_AU.orig.aff
@if not os.path.exists('en_AU.orig.dic'):
:copy en_AU.dic en_AU.orig.dic
:copy en_AU.dic en_AU.orig.dic
@if os.path.exists('en_AU.diff'):
:sys patch <en_AU.diff
en_CA.aff en_CA.dic: {buildcheck=}
:assertpkg unzip patch
:fetch en_CA.zip
:sys $(UNZIP) en_CA.zip
:sys $UNZIP en_CA.zip
:delete en_CA.zip
@if not os.path.exists('en_CA.orig.aff'):
:copy en_CA.aff en_CA.orig.aff
:copy en_CA.aff en_CA.orig.aff
@if not os.path.exists('en_CA.orig.dic'):
:copy en_CA.dic en_CA.orig.dic
:copy en_CA.dic en_CA.orig.dic
@if os.path.exists('en_CA.diff'):
:sys patch <en_CA.diff
en_GB.aff en_GB.dic: {buildcheck=}
:assertpkg unzip patch
:fetch en_GB.zip
:sys $(UNZIP) en_GB.zip
:sys $UNZIP en_GB.zip
:delete en_GB.zip
:delete dictionary.lst.example
@if not os.path.exists('en_GB.orig.aff'):
:copy en_GB.aff en_GB.orig.aff
:copy en_GB.aff en_GB.orig.aff
@if not os.path.exists('en_GB.orig.dic'):
:copy en_GB.dic en_GB.orig.dic
:copy en_GB.dic en_GB.orig.dic
@if os.path.exists('en_GB.diff'):
:sys patch <en_GB.diff
en_NZ.aff en_NZ.dic: {buildcheck=}
:assertpkg unzip patch
:fetch en_NZ.zip
:sys $(UNZIP) en_NZ.zip
:sys $UNZIP en_NZ.zip
:delete en_NZ.zip
@if not os.path.exists('en_NZ.orig.aff'):
:copy en_NZ.aff en_NZ.orig.aff
:copy en_NZ.aff en_NZ.orig.aff
@if not os.path.exists('en_NZ.orig.dic'):
:copy en_NZ.dic en_NZ.orig.dic
:copy en_NZ.dic en_NZ.orig.dic
@if os.path.exists('en_NZ.diff'):
:sys patch <en_NZ.diff
@@ -146,7 +146,7 @@ check-us:
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../en_US.zip
:sys $UNZIP ../en_US.zip
:sys {force} diff ../en_US.orig.aff en_US.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy en_US.aff ../en_US.new.aff
@@ -165,7 +165,7 @@ check-au:
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../en_AU.zip
:sys $UNZIP ../en_AU.zip
:sys {force} diff ../en_AU.orig.aff en_AU.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy en_AU.aff ../en_AU.new.aff
@@ -184,7 +184,7 @@ check-ca:
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../en_CA.zip
:sys $UNZIP ../en_CA.zip
:sys {force} diff ../en_CA.orig.aff en_CA.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy en_CA.aff ../en_CA.new.aff
@@ -203,7 +203,7 @@ check-gb:
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../en_GB.zip
:sys $UNZIP ../en_GB.zip
:sys {force} diff ../en_GB.orig.aff en_GB.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy en_GB.aff ../en_GB.new.aff
@@ -222,7 +222,7 @@ check-nz:
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../en_NZ.zip
:sys $UNZIP ../en_NZ.zip
:sys {force} diff ../en_NZ.orig.aff en_NZ.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy en_NZ.aff ../en_NZ.new.aff

View File

80
runtime/spell/eo/main.aap Normal file
View File

@@ -0,0 +1,80 @@
# Aap recipe for Esperanto 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 = eo_l3.aff eo_l3.dic
all: $SPELLDIR/eo.iso-8859-3.spl $SPELLDIR/eo.utf-8.spl ../README_eo.txt
$SPELLDIR/eo.iso-8859-3.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=iso-8859-3"
-c "mkspell! $SPELLDIR/eo eo_l3" -c q
$SPELLDIR/eo.utf-8.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=utf-8"
-c "mkspell! $SPELLDIR/eo eo_l3" -c q
../README_eo.txt : README_eo_l3.txt
:copy $source $target
# fix missing newline
:sys $VIM $target -e -c "set ff=unix" -c wq
#
# Fetching the files from OpenOffice.org.
#
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
:attr {fetch = $OODIR/%file%} eo.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.
eo_l3.aff eo_l3.dic: {buildcheck=}
:assertpkg unzip patch
:fetch eo.zip
:sys $UNZIP eo.zip
:delete eo.zip
@if not os.path.exists('eo_l3.orig.aff'):
:copy eo_l3.aff eo_l3.orig.aff
@if not os.path.exists('eo_l3.orig.dic'):
:copy eo_l3.dic eo_l3.orig.dic
@if os.path.exists('eo_l3.diff'):
:sys patch <eo_l3.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 eo_l3.orig.aff eo_l3.aff >eo_l3.diff
:sys {force} diff -a -C 1 eo_l3.orig.dic eo_l3.dic >>eo_l3.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 eo.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../eo.zip
:sys {force} diff ../eo_l3.orig.aff eo_l3.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy eo_l3.aff ../eo_l3.new.aff
:sys {force} diff ../eo_l3.orig.dic eo_l3.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy eo_l3.dic ../eo_l3.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete eo.zip
# vim: set sts=4 sw=4 :

View File

@@ -0,0 +1,25 @@
*** es_ES.orig.aff Thu Aug 25 19:11:20 2005
--- es_ES.aff Thu Aug 25 19:12:47 2005
***************
*** 3,4 ****
--- 3,22 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MAP 9
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ MAP e<><65><EFBFBD><EFBFBD>
+ MAP i<><69><EFBFBD><EFBFBD>
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
+ MAP u<><75><EFBFBD><EFBFBD>
+ MAP n<>
+ MAP c<>
+ MAP y<><79>
+ MAP s<>
+
SFX J Y 12

6961
runtime/spell/es/es_MX.diff Normal file

File diff suppressed because it is too large Load Diff

92
runtime/spell/es/main.aap Normal file
View File

@@ -0,0 +1,92 @@
# Aap recipe for Spanish Vim spell files.
# Use a freshly compiled Vim if it exists.
@if os.path.exists('../../../src/vim'):
VIM = ../../../src/vim
@else:
:progsearch VIM vim
REGIONS = ES MX
ES_REGIONS = es_$*REGIONS
SPELLDIR = ..
FILES = es_$*(REGIONS).aff es_$*(REGIONS).dic
ZIPFILE_ES = es_ES.zip
ZIPFILE_MX = es_MX.zip
ZIPFILES = $ZIPFILE_ES $ZIPFILE_MX
READMES = README_es_$*(REGIONS).txt
all: $SPELLDIR/es.latin1.spl $SPELLDIR/es.utf-8.spl ../README_es.txt
$SPELLDIR/es.latin1.spl : $FILES
:sys env LANG=es_ES.ISO8859-1
$VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
$SPELLDIR/es.utf-8.spl : $FILES
:sys env LANG=es_ES.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/es $ES_REGIONS" -c q
../README_es.txt: $READMES
:print es_ES >! $target
:cat README_es_ES.txt >> $target
:print =================================================== >>$target
:print es_MX >> $target
:cat README_es_MX.txt >> $target
#
# Fetching the files from the OpenOffice.org site.
# The OLDSPELL file comes from elsewhere
#
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
:attr {fetch = $OODIR/%file%} $ZIPFILES
# 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.
es_ES.aff es_ES.dic: {buildcheck=}
:assertpkg unzip patch
:fetch $ZIPFILE_ES
:sys $UNZIP $ZIPFILE_ES
:delete add-to--dictionary.lst.example
#:delete $ZIPFILE_ES
@if not os.path.exists('es_ES.orig.aff'):
:copy es_ES.aff es_ES.orig.aff
@if not os.path.exists('es_ES.orig.dic'):
:copy es_ES.dic es_ES.orig.dic
@if os.path.exists('es_ES.diff'):
:sys patch <es_ES.diff
es_MX.aff es_MX.dic: {buildcheck=}
:assertpkg unzip patch
:fetch $ZIPFILE_MX
:print No copyright information for es_MX wordlist >! README_es_MX.txt
:sys $UNZIP $ZIPFILE_MX
#:delete $ZIPFILE_MX
:sys $VIM -e -c "set ff=unix | wq" es_MX.dic
@if not os.path.exists('es_MX.orig.aff'):
:copy es_MX.aff es_MX.orig.aff
@if not os.path.exists('es_MX.orig.dic'):
:copy es_MX.dic es_MX.orig.dic
@if os.path.exists('es_MX.diff'):
:sys patch <es_MX.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 es_ES.orig.aff es_ES.aff >es_ES.diff
:sys {force} diff -a -C 1 es_ES.orig.dic es_ES.dic >>es_ES.diff
:sys {force} diff -a -C 1 es_MX.orig.aff es_MX.aff >es_MX.diff
:sys {force} diff -a -C 1 es_MX.orig.dic es_MX.dic >>es_MX.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:
:print TODO!!!!
# vim: set sts=4 sw=4 :

27
runtime/spell/fixdup Normal file
View File

@@ -0,0 +1,27 @@
" Vim script to fix duplicate words in a .dic file vim: set ft=vim:
"
" Usage: Edit the .dic file and source this script.
let deleted = 0
" Start below the word count.
let lnum = 2
while lnum <= line('$')
let word = getline(lnum)
if word !~ '/'
if search('^' . word . '/', 'w') != 0
let deleted += 1
exe lnum . "d"
continue " don't increment lnum, it's already at the next word
endif
endif
let lnum += 1
endwhile
if deleted == 0
echomsg "No duplicate words found"
elseif deleted == 1
echomsg "Deleted 1 duplicate word"
else
echomsg printf("Deleted %d duplicate words", deleted)
endif

View File

@@ -0,0 +1,14 @@
*** fo_FO.orig.aff Tue Aug 16 17:39:22 2005
--- fo_FO.aff Tue Aug 16 17:41:00 2005
***************
*** 6 ****
--- 6,14 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '-

79
runtime/spell/fo/main.aap Normal file
View File

@@ -0,0 +1,79 @@
# Aap recipe for Faroese 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 = fo_FO.aff fo_FO.dic
all: $SPELLDIR/fo.latin1.spl $SPELLDIR/fo.utf-8.spl ../README_fo.txt
$SPELLDIR/fo.latin1.spl : $FILES
:sys env LANG=fo_FO.ISO8859-1
$VIM -u NONE -e -c "mkspell! $SPELLDIR/fo fo_FO" -c q
$SPELLDIR/fo.utf-8.spl : $FILES
:sys env LANG=fo_FO.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/fo fo_FO" -c q
../README_fo.txt : README_fo_FO.txt 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%} fo_FO.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.
fo_FO.aff fo_FO.dic: {buildcheck=}
:assertpkg unzip patch
:fetch fo_FO.zip
:sys $UNZIP fo_FO.zip
:delete fo_FO.zip
:delete contributors fo_FO.excluded Makefile COPYING
@if not os.path.exists('fo_FO.orig.aff'):
:copy fo_FO.aff fo_FO.orig.aff
@if not os.path.exists('fo_FO.orig.dic'):
:copy fo_FO.dic fo_FO.orig.dic
@if os.path.exists('fo_FO.diff'):
:sys patch <fo_FO.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 fo_FO.orig.aff fo_FO.aff >fo_FO.diff
:sys {force} diff -a -C 1 fo_FO.orig.dic fo_FO.dic >>fo_FO.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 fo_FO.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../fo_FO.zip
:sys {force} diff ../fo_FO.orig.aff fo_FO.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy fo_FO.aff ../fo_FO.new.aff
:sys {force} diff ../fo_FO.orig.dic fo_FO.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy fo_FO.dic ../fo_FO.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete fo_FO.zip
# vim: set sts=4 sw=4 :

View File

@@ -9,36 +9,36 @@
SPELLDIR = ..
FILES = fr_FR.aff fr_FR.dic
all: $(SPELLDIR)/fr.latin1.spl $(SPELLDIR)/fr.utf-8.spl ../README_fr.txt
all: $SPELLDIR/fr.latin1.spl $SPELLDIR/fr.utf-8.spl ../README_fr.txt
$(SPELLDIR)/fr.latin1.spl : $(VIM) $(FILES)
$SPELLDIR/fr.latin1.spl : $FILES
:sys env LANG=fr_FR.ISO8859-1
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q
$VIM -u NONE -e -c "mkspell! $SPELLDIR/fr fr_FR" -c q
$(SPELLDIR)/fr.utf-8.spl : $(VIM) $(FILES)
$SPELLDIR/fr.utf-8.spl : $FILES
:sys env LANG=fr_FR.UTF-8
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q
$VIM -u NONE -e -c "mkspell! $SPELLDIR/fr fr_FR" -c q
../README_fr.txt : README_fr_FR.txt
:copy $source $target
../README_fr.txt : README_fr_FR.txt lisez-moi.txt
:cat $source >!$target
#
# Fetching the files from OpenOffice.org.
#
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
:attr {fetch = $(OODIR)/%file%} fr_FR.zip
:attr {fetch = $OODIR/%file%} fr_FR.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.
fr_FR.aff fr_FR.dic: {buildcheck=}
:assertpkg unzip patch
:fetch fr_FR.zip
:sys $(UNZIP) fr_FR.zip
:sys $UNZIP fr_FR.zip
:delete fr_FR.zip
@if not os.path.exists('fr_FR.orig.aff'):
:copy fr_FR.aff fr_FR.orig.aff
:copy fr_FR.aff fr_FR.orig.aff
@if not os.path.exists('fr_FR.orig.dic'):
:copy fr_FR.dic fr_FR.orig.dic
:copy fr_FR.dic fr_FR.orig.dic
@if os.path.exists('fr_FR.diff'):
:sys patch <fr_FR.diff
@@ -62,7 +62,7 @@ check:
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../fr_FR.zip
:sys $UNZIP ../fr_FR.zip
:sys {force} diff ../fr_FR.orig.aff fr_FR.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy fr_FR.aff ../fr_FR.new.aff

View File

@@ -0,0 +1,27 @@
*** ga_IE.orig.aff Wed Aug 31 16:48:49 2005
--- ga_IE.aff Wed Aug 31 16:49:43 2005
***************
*** 37,38 ****
--- 37,58 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '-
+
+ MAP 9
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ MAP e<><65><EFBFBD><EFBFBD>
+ MAP i<><69><EFBFBD><EFBFBD>
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
+ MAP u<><75><EFBFBD><EFBFBD>
+ MAP n<>
+ MAP c<>
+ MAP y<><79>
+ MAP s<>
+
PFX S Y 18

79
runtime/spell/ga/main.aap Normal file
View File

@@ -0,0 +1,79 @@
# Aap recipe for Irish 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 = ga_IE.aff ga_IE.dic
all: $SPELLDIR/ga.latin1.spl $SPELLDIR/ga.utf-8.spl ../README_ga.txt
# I don't have an Irish locale, use the Dutch one instead.
$SPELLDIR/ga.latin1.spl : $FILES
:sys env LANG=nl_NL.ISO8859-1
$VIM -u NONE -e -c "mkspell! $SPELLDIR/ga ga_IE" -c q
$SPELLDIR/ga.utf-8.spl : $FILES
:sys env LANG=nl_NL.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/ga ga_IE" -c q
../README_ga.txt : README_ga_IE.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%} ga_IE.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.
ga_IE.aff ga_IE.dic: {buildcheck=}
:assertpkg unzip patch
:fetch ga_IE.zip
:sys $UNZIP ga_IE.zip
:delete ga_IE.zip
@if not os.path.exists('ga_IE.orig.aff'):
:copy ga_IE.aff ga_IE.orig.aff
@if not os.path.exists('ga_IE.orig.dic'):
:copy ga_IE.dic ga_IE.orig.dic
@if os.path.exists('ga_IE.diff'):
:sys patch <ga_IE.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 ga_IE.orig.aff ga_IE.aff >ga_IE.diff
:sys {force} diff -a -C 1 ga_IE.orig.dic ga_IE.dic >>ga_IE.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 ga_IE.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../ga_IE.zip
:sys {force} diff ../ga_IE.orig.aff ga_IE.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy ga_IE.aff ../ga_IE.new.aff
:sys {force} diff ../ga_IE.orig.dic ga_IE.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy ga_IE.dic ../ga_IE.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete ga_IE.zip
# vim: set sts=4 sw=4 :

View File

@@ -0,0 +1,26 @@
*** gd_GB.orig.aff Wed Aug 31 20:50:02 2005
--- gd_GB.aff Wed Aug 31 20:50:43 2005
***************
*** 19 ****
--- 19,39 ----
TRY ahinrdesclgoutmb<6D>f-<2D>AC<41>T<EFBFBD>BpGSDM<44>IRPLNEF<45>O'U<><55><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD><48>
+
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD '-
+
+ MAP 9
+ MAP a<><61><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ MAP e<><65><EFBFBD><EFBFBD>
+ MAP i<><69><EFBFBD><EFBFBD>
+ MAP o<><6F><EFBFBD><EFBFBD><EFBFBD>
+ MAP u<><75><EFBFBD><EFBFBD>
+ MAP n<>
+ MAP c<>
+ MAP y<><79>
+ MAP s<>

78
runtime/spell/gd/main.aap Normal file
View File

@@ -0,0 +1,78 @@
# Aap recipe for Scottish Gaelic 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 = gd_GB.aff gd_GB.dic
all: $SPELLDIR/gd.latin1.spl $SPELLDIR/gd.utf-8.spl ../README_gd.txt
$SPELLDIR/gd.latin1.spl : $FILES
:sys env LANG=gd_GB.ISO8859-1
$VIM -u NONE -e -c "mkspell! $SPELLDIR/gd gd_GB" -c q
$SPELLDIR/gd.utf-8.spl : $FILES
:sys env LANG=gd_GB.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/gd gd_GB" -c q
../README_gd.txt : README_gd_GB.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%} gd_GB.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.
gd_GB.aff gd_GB.dic: {buildcheck=}
:assertpkg unzip patch
:fetch gd_GB.zip
:sys $UNZIP gd_GB.zip
:delete gd_GB.zip
@if not os.path.exists('gd_GB.orig.aff'):
:copy gd_GB.aff gd_GB.orig.aff
@if not os.path.exists('gd_GB.orig.dic'):
:copy gd_GB.dic gd_GB.orig.dic
@if os.path.exists('gd_GB.diff'):
:sys patch <gd_GB.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 gd_GB.orig.aff gd_GB.aff >gd_GB.diff
:sys {force} diff -a -C 1 gd_GB.orig.dic gd_GB.dic >>gd_GB.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 gd_GB.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../gd_GB.zip
:sys {force} diff ../gd_GB.orig.aff gd_GB.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy gd_GB.aff ../gd_GB.new.aff
:sys {force} diff ../gd_GB.orig.dic gd_GB.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy gd_GB.dic ../gd_GB.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete gd_GB.zip
# vim: set sts=4 sw=4 :

View File

@@ -0,0 +1,15 @@
*** gl_ES.orig.aff Tue Aug 16 17:59:15 2005
--- gl_ES.aff Tue Aug 16 17:59:15 2005
***************
*** 2,3 ****
--- 2,11 ----
TRY <20><><EFBFBD><EFBFBD><EFBFBD>esianrtolcdugmphbfv<66>
+
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
# COMPOUNDMIN 3

78
runtime/spell/gl/main.aap Normal file
View File

@@ -0,0 +1,78 @@
# Aap recipe for Galician (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 = gl_ES.aff gl_ES.dic
all: $SPELLDIR/gl.latin1.spl $SPELLDIR/gl.utf-8.spl ../README_gl.txt
$SPELLDIR/gl.latin1.spl : $FILES
:sys env LANG=gl_ES.ISO8859-1
$VIM -u NONE -e -c "mkspell! $SPELLDIR/gl gl_ES" -c q
$SPELLDIR/gl.utf-8.spl : $FILES
:sys env LANG=gl_ES.UTF-8
$VIM -u NONE -e -c "mkspell! $SPELLDIR/gl gl_ES" -c q
../README_gl.txt : README_gl_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%} gl_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.
gl_ES.aff gl_ES.dic: {buildcheck=}
:assertpkg unzip patch
:fetch gl_ES.zip
:sys $UNZIP gl_ES.zip
:delete gl_ES.zip
@if not os.path.exists('gl_ES.orig.aff'):
:copy gl_ES.aff gl_ES.orig.aff
@if not os.path.exists('gl_ES.orig.dic'):
:copy gl_ES.dic gl_ES.orig.dic
@if os.path.exists('gl_ES.diff'):
:sys patch <gl_ES.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 gl_ES.orig.aff gl_ES.aff >gl_ES.diff
:sys {force} diff -a -C 1 gl_ES.orig.dic gl_ES.dic >>gl_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 gl_ES.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../gl_ES.zip
:sys {force} diff ../gl_ES.orig.aff gl_ES.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy gl_ES.aff ../gl_ES.new.aff
:sys {force} diff ../gl_ES.orig.dic gl_ES.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy gl_ES.dic ../gl_ES.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete gl_ES.zip
# vim: set sts=4 sw=4 :

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

@@ -1,5 +1,5 @@
*** he_IL.orig.aff Sun Jul 3 19:40:02 2005
--- he_IL.aff Sun Jul 3 19:40:02 2005
--- he_IL.aff Tue Aug 9 22:32:47 2005
***************
*** 2,3 ****
--- 2,6 ----

View File

@@ -9,15 +9,15 @@
SPELLDIR = ..
FILES = he_IL.aff he_IL.dic
all: $(SPELLDIR)/he.utf-8.spl $(SPELLDIR)/he.iso-8859-8.spl ../README_he.txt
all: $SPELLDIR/he.utf-8.spl $SPELLDIR/he.iso-8859-8.spl ../README_he.txt
$(SPELLDIR)/he.utf-8.spl : $(VIM) $(FILES)
$SPELLDIR/he.utf-8.spl : $FILES
:sys env LANG=he_IL.UTF-8
$(VIM) -u NONE -e -c "mkspell! $(SPELLDIR)/he he_IL" -c q
$VIM -u NONE -e -c "mkspell! $SPELLDIR/he he_IL" -c q
$(SPELLDIR)/he.iso-8859-8.spl : $(VIM) $(FILES)
:sys $(VIM) -u NONE -e -c "set enc=iso-8859-8"
-c "mkspell! $(SPELLDIR)/he he_IL" -c q
$SPELLDIR/he.iso-8859-8.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=iso-8859-8"
-c "mkspell! $SPELLDIR/he he_IL" -c q
../README_he.txt : README_he_IL.txt
:copy $source $target
@@ -26,19 +26,19 @@ $(SPELLDIR)/he.iso-8859-8.spl : $(VIM) $(FILES)
# Fetching the files from OpenOffice.org.
#
OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
:attr {fetch = $(OODIR)/%file%} he_IL.zip
:attr {fetch = $OODIR/%file%} he_IL.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.
he_IL.aff he_IL.dic: {buildcheck=}
:assertpkg unzip patch
:fetch he_IL.zip
:sys $(UNZIP) he_IL.zip
:sys $UNZIP he_IL.zip
:delete he_IL.zip
@if not os.path.exists('he_IL.orig.aff'):
:copy he_IL.aff he_IL.orig.aff
:copy he_IL.aff he_IL.orig.aff
@if not os.path.exists('he_IL.orig.dic'):
:copy he_IL.dic he_IL.orig.dic
:copy he_IL.dic he_IL.orig.dic
@if os.path.exists('he_IL.diff'):
:sys patch <he_IL.diff
@@ -62,7 +62,7 @@ check:
:cd tmp
@try:
@import stat
:sys $(UNZIP) ../he_IL.zip
:sys $UNZIP ../he_IL.zip
:sys {force} diff ../he_IL.orig.aff he_IL.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy he_IL.aff ../he_IL.new.aff

View File

@@ -0,0 +1,11 @@
*** hr_HR.orig.aff Sun Aug 14 20:00:56 2005
--- hr_HR.aff Wed Aug 17 17:11:35 2005
***************
*** 4,5 ****
--- 4,9 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
SFX A N 1

81
runtime/spell/hr/main.aap Normal file
View File

@@ -0,0 +1,81 @@
# Aap recipe for Croatian 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 = hr_HR.aff hr_HR.dic
all: $SPELLDIR/hr.iso-8859-2.spl $SPELLDIR/hr.utf-8.spl \
$SPELLDIR/hr.cp1250.spl ../README_hr.txt
$SPELLDIR/hr.iso-8859-2.spl : $FILES
:sys env LANG=hr_HR.ISO8859-2 $VIM -u NONE -e -c "mkspell! $SPELLDIR/hr hr_HR" -c q
$SPELLDIR/hr.utf-8.spl : $FILES
:sys env LANG=hr_HR.UTF-8 $VIM -u NONE -e -c "mkspell! $SPELLDIR/hr hr_HR" -c q
$SPELLDIR/hr.cp1250.spl : $FILES
:sys $VIM -u NONE -e -c "set enc=cp1250" -c "mkspell! $SPELLDIR/hr hr_HR" -c q
../README_hr.txt: README_hr_HR.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%} hr_HR.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.
hr_HR.aff hr_HR.dic: {buildcheck=}
:assertpkg unzip patch
:fetch hr_HR.zip
:sys $UNZIP hr_HR.zip
:delete hr_HR.zip
@if not os.path.exists('hr_HR.orig.aff'):
:copy hr_HR.aff hr_HR.orig.aff
@if not os.path.exists('hr_HR.orig.dic'):
:copy hr_HR.dic hr_HR.orig.dic
@if os.path.exists('hr_HR.diff'):
:sys patch <hr_HR.diff
# Generate diff files, so that others can get the OpenOffice files and apply
# the diffs to get the Vim versions.
diff:
:assertpkg diff
:sys {force} diff -a -C 1 hr_HR.orig.aff hr_HR.aff >hr_HR.diff
:sys {force} diff -a -C 1 hr_HR.orig.dic hr_HR.dic >>hr_HR.diff
# Check for updated spell files. When there are changes the
# ".new.aff" and ".new.dic" files are left behind for manual inspection.
check:
:assertpkg unzip diff
:fetch hr_HR.zip
:mkdir tmp
:cd tmp
@try:
@import stat
:sys $UNZIP ../hr_HR.zip
:sys {force} diff ../hr_HR.orig.aff hr_HR.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy hr_HR.aff ../hr_HR.new.aff
:sys {force} diff ../hr_HR.orig.dic hr_HR.dic >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy hr_HR.dic ../hr_HR.new.dic
@finally:
:cd ..
:delete {r}{f}{q} tmp
:delete hr_HR.zip
# vim: set sts=4 sw=4 :

190
runtime/spell/hu/hu_HU.diff Normal file
View File

@@ -0,0 +1,190 @@
*** hu_HU.orig.aff Tue Aug 16 18:21:10 2005
--- hu_HU.aff Fri Aug 19 21:28:45 2005
***************
*** 57,62 ****
! NAME Magyar Ispell helyes<65>r<EFBFBD>si sz<73>t<EFBFBD>r
! LANG hu_HU
! HOME http://magyarispell.sourceforge.net
! VERSION Magyar 0.99.4.2
SET ISO8859-2
--- 57,62 ----
! #NAME Magyar Ispell helyes<65>r<EFBFBD>si sz<73>t<EFBFBD>r
! #LANG hu_HU
! #HOME http://magyarispell.sourceforge.net
! #VERSION Magyar 0.99.4.2
SET ISO8859-2
***************
*** 64,77 ****
COMPOUNDMIN 2
! COMPOUNDFLAG Y
! COMPOUNDWORD 2 y
! COMPOUNDSYLLABLE 6 a<>e<EFBFBD>i<EFBFBD>o<EFBFBD><6F><EFBFBD>u<EFBFBD><75><EFBFBD>
! SYLLABLENUM klmc
! COMPOUNDFIRST v
! COMPOUNDLAST x
! FORBIDDENWORD w
! ONLYROOT u
! ACCENT <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> aeiooouuu
! CHECKNUM
! WORDCHARS -.<2E>%<25>0123456789
! HU_KOTOHANGZO Z
--- 64,116 ----
COMPOUNDMIN 2
! #COMPOUNDWORD 2 y
! COMPOUNDMAX 2
! # I don't understand what the "y" is for; if it's to disable compounding simply
! # remove the compound flag from the word.
!
! #COMPOUNDSYLLABLE 6 a<>e<EFBFBD>i<EFBFBD>o<EFBFBD><6F><EFBFBD>u<EFBFBD><75><EFBFBD>
! COMPOUNDSYLMAX 6
! SYLLABLE a/<2F>/e/<2F>/i/<2F>/o/<2F>/<2F>/<2F>/u/<2F>/<2F>/<2F>
! # Strange that every vowel is counted as a syllable, that's how the hunspell
! # code works.
!
! #SYLLABLENUM klmc
! # Don't understand what this is for
!
! #COMPOUNDFLAG Y
! #COMPOUNDFIRST v
! #COMPOUNDLAST x
! COMPOUNDFLAGS Y+
! COMPOUNDFLAGS vY*x
! COMPOUNDFLAGS Y+x
! COMPOUNDFLAGS vY+
!
! #FORBIDDENWORD w
! # I don't understand what FORBIDDENWORD is needed for, using NEEDAFFIX
! # (ONLYROOT) should be sufficient.
!
! #ONLYROOT u
! NEEDAFFIX u
!
! #ACCENT <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> aeiooouuu
! MAP 5
! MAP a<><61>
! MAP e<>
! MAP i<>
! MAP o<><6F><EFBFBD>
! MAP u<><75><EFBFBD>
!
! #CHECKNUM
! # Vim always handles numbers in the same way.
!
! #WORDCHARS -.<2E>%<25>0123456789
! FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D>%<25>
! LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D>%<25>
! UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D>%<25>
! MIDWORD .
!
! #HU_KOTOHANGZO Z
!
! # There are soooo many affixes. Postpone the prefixes to keep the time needed
! # for generating the .spl within reasonable limits.
! PFXPOSTPONE
***************
*** 81,96 ****
! REP 89
! REP <20> i
! REP i <20>
! REP <20> o
! REP o <20>
! REP o <20>
! REP <20> u
! REP u <20>
! REP u <20>
! REP <20> <20>
! REP <20> <20>
REP j ly
REP ly j
- REP a <20> # Handel->H<>ndel
REP S <20> # Skoda-><3E>koda
--- 120,124 ----
! REP 78
REP j ly
REP ly j
REP S <20> # Skoda-><3E>koda
***************
*** 173,241 ****
- # character conversion table
- # (HTML latin-1 entities -> latin-2)
- # not implemented yet
-
- CHR HTML 35
- CHR HTML &curren; <20>
- CHR HTML &deg; <20>
- CHR HTML &acute; <20>
- CHR HTML &cedil; <20>
- CHR HTML &Aacute; <20>
- CHR HTML &Acirc; <20>
- CHR HTML &Auml; <20>
- CHR HTML &Ccedil; <20>
- CHR HTML &Eacute; <20>
- CHR HTML &Euml; <20>
- CHR HTML &Iacute; <20>
- CHR HTML &Icirc; <20>
- CHR HTML &Oacute; <20>
- CHR HTML &Ocirc; <20>
- CHR HTML &Ouml; <20>
- CHR HTML &times; <20>
- CHR HTML &Uacute; <20>
- CHR HTML &Uuml; <20>
- CHR HTML &Yacute; <20>
- CHR HTML &szlig; <20>
- CHR HTML &aacute; <20>
- CHR HTML &acirc; <20>
- CHR HTML &auml; <20>
- CHR HTML &ccedil; <20>
- CHR HTML &eacute; <20>
- CHR HTML &euml; <20>
- CHR HTML &iacute; <20>
- CHR HTML &icirc; <20>
- CHR HTML &oacute; <20>
- CHR HTML &ocirc; <20>
- CHR HTML &ouml; <20>
- CHR HTML &divide; <20>
- CHR HTML &uacute; <20>
- CHR HTML &uuml; <20>
- CHR HTML &yacute; <20>
-
- # character conversion table
- # (Pr<50>sz<73>ky-code -> latin-2)
- # not implemented yet
-
- CHR 123 20
- CHR 123 a1 <20>
- CHR 123 e1 <20>
- CHR 123 e2 <20>
- CHR 123 i1 <20>
- CHR 123 o1 <20>
- CHR 123 o2 <20>
- CHR 123 o3 <20>
- CHR 123 u1 <20>
- CHR 123 u2 <20>
- CHR 123 u3 <20>
- CHR 123 A1 <20>
- CHR 123 E1 <20>
- CHR 123 E2 <20>
- CHR 123 I1 <20>
- CHR 123 O1 <20>
- CHR 123 O2 <20>
- CHR 123 O3 <20>
- CHR 123 U1 <20>
- CHR 123 U2 <20>
- CHR 123 U3 <20>
-
SFX z Y 6
--- 201,202 ----
***************
*** 17678,17681 ****
PFX D 0 leg .
-
- 1
-
--- 17639 ----

Some files were not shown because too many files have changed in this diff Show More