summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/autoload/getscript.vim619
-rw-r--r--runtime/autoload/syntaxcomplete.vim14
-rw-r--r--runtime/autoload/xmlcomplete.vim10
-rw-r--r--runtime/compiler/ruby.vim2
-rw-r--r--runtime/doc/cmdline.txt19
-rw-r--r--runtime/doc/debugger.txt2
-rw-r--r--runtime/doc/develop.txt2
-rw-r--r--runtime/doc/digraph.txt6
-rw-r--r--runtime/doc/editing.txt19
-rw-r--r--runtime/doc/gui_w16.txt2
-rw-r--r--runtime/doc/gui_w32.txt2
-rw-r--r--runtime/doc/if_mzsch.txt2
-rw-r--r--runtime/doc/if_ole.txt2
-rw-r--r--runtime/doc/if_perl.txt2
-rw-r--r--runtime/doc/if_pyth.txt2
-rw-r--r--runtime/doc/indent.txt130
-rw-r--r--runtime/doc/insert.txt6
-rw-r--r--runtime/doc/netbeans.txt517
-rw-r--r--runtime/doc/os_beos.txt2
-rw-r--r--runtime/doc/os_risc.txt2
-rw-r--r--runtime/doc/os_unix.txt2
-rw-r--r--runtime/doc/pattern.txt29
-rw-r--r--runtime/doc/pi_getscript.txt10
-rw-r--r--runtime/doc/pi_tar.txt38
-rw-r--r--runtime/doc/pi_vimball.txt89
-rw-r--r--runtime/doc/pi_zip.txt22
-rw-r--r--runtime/doc/quickref.txt40
-rw-r--r--runtime/doc/sponsor.txt12
-rw-r--r--runtime/doc/uganda.txt21
-rw-r--r--runtime/doc/usr_02.txt2
-rw-r--r--runtime/doc/usr_08.txt2
-rw-r--r--runtime/doc/usr_09.txt2
-rw-r--r--runtime/doc/usr_41.txt43
-rw-r--r--runtime/doc/usr_42.txt8
-rw-r--r--runtime/doc/usr_44.txt2
-rw-r--r--runtime/doc/usr_90.txt2
-rw-r--r--runtime/ftplugin/debchangelog.vim85
-rw-r--r--runtime/ftplugin/dtrace.vim40
-rw-r--r--runtime/ftplugin/eruby.vim2
-rw-r--r--runtime/ftplugin/git.vim34
-rw-r--r--runtime/ftplugin/gitsendemail.vim6
-rw-r--r--runtime/ftplugin/msmessages.vim40
-rw-r--r--runtime/ftplugin/ocaml.vim574
-rw-r--r--runtime/ftplugin/sql.vim27
-rw-r--r--runtime/indent/erlang.vim206
-rw-r--r--runtime/indent/eruby.vim4
-rw-r--r--runtime/indent/gitconfig.vim35
-rw-r--r--runtime/indent/lua.vim34
-rw-r--r--runtime/keymap/croatian_iso-8859-2.vim84
-rw-r--r--runtime/keymap/russian-dvorak.vim89
-rw-r--r--runtime/keymap/russian-yawerty.vim12
-rw-r--r--runtime/keymap/ukrainian-dvorak.vim92
-rw-r--r--runtime/lang/menu_eo_eo.utf-8.vim3
-rw-r--r--runtime/lang/menu_fi_fi.utf-8.vim3
-rw-r--r--runtime/macros/editexisting.vim9
-rw-r--r--runtime/plugin/zipPlugin.vim6
-rw-r--r--runtime/spell/nl/main.aap4
-rw-r--r--runtime/spell/nl/nl_NL.diff31196
-rw-r--r--runtime/spell/pt/pt_PT.diff35
-rw-r--r--runtime/syntax/arch.vim4
-rw-r--r--runtime/syntax/automake.vim29
-rw-r--r--runtime/syntax/b.vim27
-rw-r--r--runtime/syntax/c.vim24
-rw-r--r--runtime/syntax/cf.vim318
-rw-r--r--runtime/syntax/conaryrecipe.vim60
-rw-r--r--runtime/syntax/cuda.vim72
-rw-r--r--runtime/syntax/debchangelog.vim15
-rw-r--r--runtime/syntax/elinks.vim4
-rw-r--r--runtime/syntax/forth.vim63
-rw-r--r--runtime/syntax/gitrebase.vim31
-rw-r--r--runtime/syntax/gpg.vim4
-rw-r--r--runtime/syntax/lftp.vim4
-rw-r--r--runtime/syntax/mmp.vim53
-rw-r--r--runtime/syntax/objcpp.vim13
-rw-r--r--runtime/syntax/php.vim2
-rw-r--r--runtime/syntax/pinfo.vim4
-rw-r--r--runtime/syntax/prolog.vim8
-rw-r--r--runtime/syntax/promela.vim60
-rw-r--r--runtime/syntax/reva.vim191
-rw-r--r--runtime/syntax/rnc.vim4
-rw-r--r--runtime/syntax/sh.vim8
-rw-r--r--runtime/syntax/tex.vim60
-rw-r--r--runtime/syntax/vim.vim210
-rw-r--r--runtime/syntax/voscm.vim94
-rw-r--r--runtime/syntax/xpm2.vim14
-rw-r--r--runtime/tutor/README.txt148
-rwxr-xr-xruntime/tutor/README_ami.txt.infobin0 -> 582 bytes
-rwxr-xr-xruntime/tutor/README_amibin.txt.infobin0 -> 582 bytes
-rw-r--r--runtime/tutor/README_dos.txt154
-rw-r--r--runtime/tutor/README_mac.txt8
-rwxr-xr-xruntime/tutor/runtime.infobin0 -> 624 bytes
-rw-r--r--runtime/tutor/runtime/evim.vim66
-rw-r--r--runtime/tutor/runtime/gvimrc_example.vim59
-rw-r--r--runtime/tutor/runtime/icons.infobin0 -> 624 bytes
-rw-r--r--runtime/tutor/runtime/scripts.vim351
-rw-r--r--runtime/tutor/runtime/synmenu.vim569
-rw-r--r--runtime/tutor/runtime/vim48x48.pngbin0 -> 474 bytes
-rw-r--r--runtime/tutor/tutor.de.utf-8980
-rw-r--r--runtime/tutor/tutor.el.cp737815
-rw-r--r--runtime/tutor/tutor.hr972
-rw-r--r--runtime/tutor/uninstal.txt80
-rw-r--r--src/GvimExt/GvimExt.reg4
-rw-r--r--src/Makefile26
-rw-r--r--src/feature.h22
-rw-r--r--src/fileio.c11
-rw-r--r--src/globals.h4
-rw-r--r--src/gui.c2
-rw-r--r--src/gui.h2
-rw-r--r--src/gui_athena.c2
-rw-r--r--src/mbyte.c18
-rw-r--r--src/msvc2008.bat5
-rw-r--r--src/os_unix.c171
-rw-r--r--src/os_win32.c3
-rw-r--r--src/os_win32.h3
-rw-r--r--src/po/Make_cyg.mak4
-rw-r--r--src/po/Makefile10
-rw-r--r--src/po/ja.po239
-rw-r--r--src/po/pl.UTF-8.po21
-rw-r--r--src/po/sk.po14
-rw-r--r--src/po/vi.po4
-rw-r--r--src/po/zh_CN.UTF-8.po2
-rw-r--r--src/po/zh_TW.UTF-8.po8
-rw-r--r--src/tag.c23
123 files changed, 39117 insertions, 1365 deletions
diff --git a/runtime/autoload/getscript.vim b/runtime/autoload/getscript.vim
index 729be83642..c1e1aa34a5 100644
--- a/runtime/autoload/getscript.vim
+++ b/runtime/autoload/getscript.vim
@@ -1,8 +1,8 @@
" ---------------------------------------------------------------------
" getscript.vim
" Author: Charles E. Campbell, Jr.
-" Date: May 11, 2007
-" Version: 27
+" Date: May 30, 2008
+" Version: 30
" Installing: :help glvs-install
" Usage: :help glvs
"
@@ -11,7 +11,7 @@
" ---------------------------------------------------------------------
" Initialization: {{{1
" if you're sourcing this file, surely you can't be
-" expecting vim to be in its vi-compatible mode
+" expecting vim to be in its vi-compatible mode!
if &cp
echoerr "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
finish
@@ -23,11 +23,44 @@ set cpo&vim
if exists("g:loaded_getscript")
finish
endif
-let g:loaded_getscript= "v27"
+let g:loaded_getscript= "v30"
+
+" ---------------------------
+" Global Variables: {{{1
+" ---------------------------
+" Cygwin Detection ------- {{{2
+if !exists("g:getscript_cygwin")
+ if has("win32") || has("win95") || has("win64") || has("win16")
+ if &shell =~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$'
+ let g:getscript_cygwin= 1
+ else
+ let g:getscript_cygwin= 0
+ endif
+ else
+ let g:getscript_cygwin= 0
+ endif
+endif
+" shell quoting character {{{2
+if exists("g:netrw_shq") && !exists("g:getscript_shq")
+ let g:getscript_shq= g:netrw_shq
+elseif !exists("g:getscript_shq")
+ if exists("&shq") && &shq != ""
+ let g:getscript_shq= &shq
+ elseif exists("&sxq") && &sxq != ""
+ let g:getscript_shq= &sxq
+ elseif has("win32") || has("win95") || has("win64") || has("win16")
+ if g:getscript_cygwin
+ let g:getscript_shq= "'"
+ else
+ let g:getscript_shq= '"'
+ endif
+ else
+ let g:getscript_shq= "'"
+ endif
+" call Decho("g:getscript_shq<".g:getscript_shq.">")
+endif
-" ---------------------------------------------------------------------
-" Global Variables: {{{1
-" allow user to change the command for obtaining scripts (does fetch work?)
+" wget vs curl {{{2
if !exists("g:GetLatestVimScripts_wget")
if executable("wget")
let g:GetLatestVimScripts_wget= "wget"
@@ -94,262 +127,6 @@ com! -nargs=0 GetScript call getscript#GetLatestVimScripts()
silent! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
" ---------------------------------------------------------------------
-" GetOneScript: (Get Latest Vim Script) this function operates {{{1
-" on the current line, interpreting two numbers and text as
-" ScriptID, SourceID, and Filename.
-" It downloads any scripts that have newer versions from vim.sf.net.
-fun! s:GetOneScript(...)
-" call Dfunc("GetOneScript()")
-
- " set options to allow progress to be shown on screen
- let t_ti= &t_ti
- let t_te= &t_te
- let rs = &rs
- set t_ti= t_te= nors
-
- " put current line on top-of-screen and interpret it into
- " a script identifer : used to obtain webpage
- " source identifier : used to identify current version
- " and an associated comment: used to report on what's being considered
- if a:0 >= 3
- let scriptid = a:1
- let srcid = a:2
- let fname = a:3
- let cmmnt = ""
-" call Decho("scriptid<".scriptid.">")
-" call Decho("srcid <".srcid.">")
-" call Decho("fname <".fname.">")
- else
- let curline = getline(".")
- if curline =~ '^\s*#'
-" call Dret("GetOneScript : skipping a pure comment line")
- return
- endif
- let parsepat = '^\s*\(\d\+\)\s\+\(\d\+\)\s\+\(.\{-}\)\(\s*#.*\)\=$'
- try
- let scriptid = substitute(curline,parsepat,'\1','e')
- catch /^Vim\%((\a\+)\)\=:E486/
- let scriptid= 0
- endtry
- try
- let srcid = substitute(curline,parsepat,'\2','e')
- catch /^Vim\%((\a\+)\)\=:E486/
- let srcid= 0
- endtry
- try
- let fname= substitute(curline,parsepat,'\3','e')
- catch /^Vim\%((\a\+)\)\=:E486/
- let fname= ""
- endtry
- try
- let cmmnt= substitute(curline,parsepat,'\4','e')
- catch /^Vim\%((\a\+)\)\=:E486/
- let cmmnt= ""
- endtry
-" call Decho("curline <".curline.">")
-" call Decho("parsepat<".parsepat.">")
-" call Decho("scriptid<".scriptid.">")
-" call Decho("srcid <".srcid.">")
-" call Decho("fname <".fname.">")
- endif
-
- if scriptid == 0 || srcid == 0
- " When looking for :AutoInstall: lines, skip scripts that
- " have 0 0 scriptname
-" call Dret("GetOneScript : skipping a scriptid==srcid==0 line")
- return
- endif
-
- let doautoinstall= 0
- if fname =~ ":AutoInstall:"
-" call Decho("fname<".fname."> has :AutoInstall:...")
- let aicmmnt= substitute(fname,'\s\+:AutoInstall:\s\+',' ','')
-" call Decho("aicmmnt<".aicmmnt."> s:autoinstall=".s:autoinstall)
- if s:autoinstall != ""
- let doautoinstall = g:GetLatestVimScripts_allowautoinstall
- endif
- else
- let aicmmnt= fname
- endif
-" call Decho("aicmmnt<".aicmmnt.">: doautoinstall=".doautoinstall)
-
- exe "norm z\<CR>"
- redraw!
-" call Decho('considering <'.aicmmnt.'> scriptid='.scriptid.' srcid='.srcid)
- echomsg 'considering <'.aicmmnt.'> scriptid='.scriptid.' srcid='.srcid
-
- " grab a copy of the plugin's vim.sf.net webpage
- let scriptaddr = 'http://vim.sf.net/script.php?script_id='.scriptid
- let tmpfile = tempname()
- let v:errmsg = ""
-
- " make up to three tries at downloading the description
- let itry= 1
- while itry <= 3
-" call Decho("try#".itry." to download description of <".aicmmnt."> with addr=".scriptaddr)
- if has("win32") || has("win16") || has("win95")
-" call Decho("silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".tmpfile.' "'.scriptaddr.'"')
- exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".tmpfile.' "'.scriptaddr.'"'
- else
-" call Decho("silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".tmpfile." '".scriptaddr."'")
- exe "