summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-29 22:40:58 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-29 22:40:58 +0000
commit42eeac3552c5a5ea10f24373f76b93633b6c8604 (patch)
tree902f3158470a3e9c53850708cf982c85c6338796 /runtime
parent24bbcfe8fe62ea43b1cea86243be4fdc8794140b (diff)
updated for version 7.0097v7.0097
Diffstat (limited to 'runtime')
-rw-r--r--runtime/compiler/bdf.vim12
-rw-r--r--runtime/compiler/gcc.vim30
-rw-r--r--runtime/compiler/rst.vim12
-rw-r--r--runtime/doc/eval.txt10
-rw-r--r--runtime/doc/spell.txt33
-rw-r--r--runtime/doc/tags8
-rw-r--r--runtime/doc/todo.txt14
-rw-r--r--runtime/doc/version7.txt15
-rw-r--r--runtime/filetype.vim58
-rw-r--r--runtime/ftplugin/alsaconf.vim13
-rw-r--r--runtime/ftplugin/arch.vim13
-rw-r--r--runtime/ftplugin/automake.vim15
-rw-r--r--runtime/ftplugin/bdf.vim13
-rw-r--r--runtime/ftplugin/calendar.vim13
-rw-r--r--runtime/ftplugin/changelog.vim132
-rw-r--r--runtime/ftplugin/conf.vim13
-rw-r--r--runtime/ftplugin/context.vim36
-rw-r--r--runtime/ftplugin/crm.vim13
-rw-r--r--runtime/ftplugin/css.vim17
-rw-r--r--runtime/ftplugin/cvsrc.vim13
-rw-r--r--runtime/ftplugin/dircolors.vim13
-rw-r--r--runtime/ftplugin/elinks.vim13
-rw-r--r--runtime/ftplugin/eterm.vim13
-rw-r--r--runtime/ftplugin/fetchmail.vim13
-rw-r--r--runtime/ftplugin/gpg.vim13
-rw-r--r--runtime/ftplugin/grub.vim13
-rw-r--r--runtime/ftplugin/haskell.vim13
-rw-r--r--runtime/ftplugin/help.vim13
-rw-r--r--runtime/ftplugin/indent.vim13
-rw-r--r--runtime/ftplugin/ld.vim13
-rw-r--r--runtime/ftplugin/lftp.vim13
-rw-r--r--runtime/ftplugin/libao.vim13
-rw-r--r--runtime/ftplugin/limits.vim13
-rw-r--r--runtime/ftplugin/loginaccess.vim13
-rw-r--r--runtime/ftplugin/logindefs.vim13
-rw-r--r--runtime/ftplugin/m4.vim13
-rw-r--r--runtime/ftplugin/mailcap.vim13
-rw-r--r--runtime/ftplugin/modconf.vim13
-rw-r--r--runtime/ftplugin/mplayerconf.vim13
-rw-r--r--runtime/ftplugin/muttrc.vim15
-rw-r--r--runtime/ftplugin/netrc.vim13
-rw-r--r--runtime/ftplugin/pamconf.vim13
-rw-r--r--runtime/ftplugin/pinfo.vim13
-rw-r--r--runtime/ftplugin/procmail.vim15
-rw-r--r--runtime/ftplugin/prolog.vim13
-rw-r--r--runtime/ftplugin/quake.vim13
-rw-r--r--runtime/ftplugin/racc.vim13
-rw-r--r--runtime/ftplugin/readline.vim13
-rw-r--r--runtime/ftplugin/rnc.vim13
-rw-r--r--runtime/ftplugin/rst.vim20
-rw-r--r--runtime/ftplugin/screen.vim13
-rw-r--r--runtime/ftplugin/sieve.vim13
-rw-r--r--runtime/ftplugin/sshconfig.vim13
-rw-r--r--runtime/ftplugin/sudoers.vim13
-rw-r--r--runtime/ftplugin/sysctl.vim13
-rw-r--r--runtime/ftplugin/terminfo.vim13
-rw-r--r--runtime/ftplugin/updatedb.vim13
-rw-r--r--runtime/ftplugin/xdefaults.vim13
-rw-r--r--runtime/ftplugin/xf86conf.vim13
-rw-r--r--runtime/ftplugin/xinetd.vim13
-rw-r--r--runtime/ftplugin/xmodmap.vim13
-rw-r--r--runtime/ftplugin/yaml.vim13
-rw-r--r--runtime/ftplugin/zsh.vim13
-rw-r--r--runtime/indent/automake.vim16
-rw-r--r--runtime/indent/config.vim15
-rw-r--r--runtime/indent/css.vim73
-rw-r--r--runtime/indent/docbk.vim12
-rw-r--r--runtime/indent/eterm.vim24
-rw-r--r--runtime/indent/ld.vim2
-rw-r--r--runtime/indent/make.vim44
-rw-r--r--runtime/indent/readline.vim23
-rw-r--r--runtime/indent/rst.vim18
-rw-r--r--runtime/indent/sh.vim26
-rw-r--r--runtime/indent/tcl.vim129
-rw-r--r--runtime/indent/xf86conf.vim20
-rw-r--r--runtime/indent/xinetd.vim49
-rw-r--r--runtime/indent/yacc.vim10
-rw-r--r--runtime/indent/zsh.vim14
-rw-r--r--runtime/syntax/alsaconf.vim87
-rw-r--r--runtime/syntax/arch.vim81
-rw-r--r--runtime/syntax/bdf.vim137
-rw-r--r--runtime/syntax/calendar.vim177
-rw-r--r--runtime/syntax/context.vim104
-rw-r--r--runtime/syntax/crm.vim89
-rw-r--r--runtime/syntax/cvsrc.vim74
-rw-r--r--runtime/syntax/dircolors.vim812
-rw-r--r--runtime/syntax/elinks.vim293
-rw-r--r--runtime/syntax/eterm.vim528
-rw-r--r--runtime/syntax/fetchmail.vim148
-rw-r--r--runtime/syntax/gpg.vim143
-rw-r--r--runtime/syntax/grub.vim156
-rw-r--r--runtime/syntax/indent.vim251
-rw-r--r--runtime/syntax/ld.vim6
-rw-r--r--runtime/syntax/lftp.vim268
-rw-r--r--runtime/syntax/libao.vim59
-rw-r--r--runtime/syntax/limits.vim44
-rw-r--r--runtime/syntax/loginaccess.vim96
-rw-r--r--runtime/syntax/logindefs.vim94
-rw-r--r--runtime/syntax/modconf.vim78
-rw-r--r--runtime/syntax/mplayerconf.vim159
-rw-r--r--runtime/syntax/netrc.vim86
-rw-r--r--runtime/syntax/pamconf.vim118
-rw-r--r--runtime/syntax/pinfo.vim207
-rw-r--r--runtime/syntax/quake.vim242
-rw-r--r--runtime/syntax/racc.vim138
-rw-r--r--runtime/syntax/readline.vim274
-rw-r--r--runtime/syntax/rnc.vim148
-rw-r--r--runtime/syntax/rst.vim175
-rw-r--r--runtime/syntax/screen.vim138
-rw-r--r--runtime/syntax/sieve.vim84
-rw-r--r--runtime/syntax/sudoers.vim428
-rw-r--r--runtime/syntax/sysctl.vim39
-rw-r--r--runtime/syntax/terminfo.vim170
-rw-r--r--runtime/syntax/updatedb.vim39
-rw-r--r--runtime/syntax/xinetd.vim347
-rw-r--r--runtime/syntax/xmodmap.vim817
-rw-r--r--runtime/syntax/yaml.vim156
117 files changed, 5934 insertions, 3084 deletions
diff --git a/runtime/compiler/bdf.vim b/runtime/compiler/bdf.vim
index ae2da75e17..133e980408 100644
--- a/runtime/compiler/bdf.vim
+++ b/runtime/compiler/bdf.vim
@@ -1,16 +1,14 @@
" Vim compiler file
-" Compiler: BDF to PCF Conversion
-" Maintainer: Nikolai Weibull <sourc@pcppopper.org>
-" URL: http://www.pcppopper.org/vim/compiler/pcp/bdf/
-" Latest Revision: 2004-05-22
-" arch-tag: 2e2f3a55-199b-468c-aa2e-d6b1a7b87806
+" Compiler: BDF to PCF Conversion
+" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
+" Latest Revision: 2005-06-29
if exists("current_compiler")
finish
endif
let current_compiler = "bdf"
-if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
@@ -26,5 +24,3 @@ CompilerSet errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m,
let &cpo = s:cpo_save
unlet s:cpo_save
-
-" vim: set sts=2 sw=2:
diff --git a/runtime/compiler/gcc.vim b/runtime/compiler/gcc.vim
new file mode 100644
index 0000000000..1e64f32833
--- /dev/null
+++ b/runtime/compiler/gcc.vim
@@ -0,0 +1,30 @@
+" Vim compiler file
+" Compiler: GNU C Compiler
+" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
+" Latest Revision: 2005-06-29
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "gcc"
+
+if exists(":CompilerSet") != 2
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+let s:cpo_save = &cpo
+set cpo-=C
+
+CompilerSet errorformat=
+ \%*[^\"]\"%f\"%*\\D%l:\ %m,
+ \\"%f\"%*\\D%l:\ %m,
+ \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
+ \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
+ \%f:%l:\ %m,
+ \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
+ \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
+ \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
+ \%DMaking\ %*\\a\ in\ %f
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
diff --git a/runtime/compiler/rst.vim b/runtime/compiler/rst.vim
index c9e5be1865..f983fe7213 100644
--- a/runtime/compiler/rst.vim
+++ b/runtime/compiler/rst.vim
@@ -1,16 +1,14 @@
" Vim compiler file
-" Compiler: reStructuredText Documentation Format
-" Maintainer: Nikolai Weibull <source@pcppopper.org>
-" URL: http://www.pcppopper.org/vim/compiler/pcp/rst/
-" Latest Revision: 2004-05-22
-" arch-tag: ac64a95a-5d45-493d-a9f9-f96fc8568657
+" Compiler: reStructuredText Documentation Format
+" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
+" Latest Revision: 2005-06-29
if exists("current_compiler")
finish
endif
let current_compiler = "rst"
-if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
@@ -29,5 +27,3 @@ CompilerSet errorformat=
let &cpo = s:cpo_save
unlet s:cpo_save
-
-" vim: set sts=2 sw=2:
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b4f71d2de6..9ee13e3937 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2005 Jun 28
+*eval.txt* For Vim version 7.0aa. Last change: 2005 Jun 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3781,8 +3781,8 @@ sort({list} [, {func}]) *sort()* *E702*
soundfold({word})
Return the sound-folded equivalent of {word}. Uses the first
language in 'spellang' for the current window that supports
- soundfolding. When no sound folding is possible the {word}
- is returned unmodified.
+ soundfolding. 'spell' must be set. When no sound folding is
+ possible the {word} is returned unmodified.
This can be used for making spelling suggestions. Note that
the method can be quite slow.
@@ -3808,8 +3808,8 @@ spellsuggest({word} [, {max}])
first entry, thus this can be used to check spelling.
The spelling information for the current window is used. The
- 'spell' option must be set and the value of 'spelllang' is
- used.
+ 'spell' option must be set and the values of 'spelllang' and
+ 'spellsuggest' are used.
split({expr} [, {pattern} [, {keepempty}]]) *split()*
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 6accc114d9..606a030dc8 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1,4 +1,4 @@
-*spell.txt* For Vim version 7.0aa. Last change: 2005 Jun 28
+*spell.txt* For Vim version 7.0aa. Last change: 2005 Jun 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -706,7 +706,8 @@ Example:
SAL C K ~
SAL K K ~
-TODO: explain how it works.
+An explantion how it works can be found in the Aspell manual:
+http://aspell.net/man-html/Phonetic-Code.html.
There are a few special items:
@@ -716,4 +717,32 @@ 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*
+
+The SAL mechanism is complex and slow. A simpler mechanism is mapping all
+characters to another character, mapping similar sounding characters to the
+same character. At the same time this does case folding. You can not have
+SAL items at the same time.
+
+There are two items required: one to speficy the characters that are mapped
+and one that specifies the characters they are mapped to. They must have
+exactly the same number of characters. Example:
+
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ~
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkes ~
+
+In the example all vowels are mapped to the same character 'e'. Another
+method is to leave out all vowels. Some characters that sound nearly the same
+and are often mixed up, such as 'm' and 'n', are mapped to the same character.
+Don't do this too much, all words will start looking alike.
+
+Characters that do not appear in SOFOFROM will be left out, except that all
+white space is replaced by one space. Sequences of the same character in
+SOFOFROM are replaced by one.
+
+You can use the |soundfold()| function to try out the results. Or set the
+'verbose' option to see the score in the output of the |z?| command.
+
+
vim:tw=78:sw=4:ts=8:ft=help:norl:
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 8d9d152fb0..67930a2a88 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -2415,6 +2415,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:spelld spell.txt /*:spelld*
:spelldump spell.txt /*:spelldump*
:spellgood spell.txt /*:spellgood*
+:spellr spell.txt /*:spellr*
+:spellrepall spell.txt /*:spellrepall*
:spellw spell.txt /*:spellw*
:spellwrong spell.txt /*:spellwrong*
:split windows.txt /*:split*
@@ -3710,6 +3712,8 @@ E749 eval.txt /*E749*
E75 vi_diff.txt /*E75*
E750 repeat.txt /*E750*
E751 spell.txt /*E751*
+E752 sp