Permalink
Browse files

Update runtime files.

  • Loading branch information...
brammool committed Jan 20, 2012
1 parent e1d4b94 commit 591d30c69fefe1ba2923e61ce9bb33044c95b453
Showing with 1,443 additions and 1,242 deletions.
  1. +19 −7 runtime/autoload/getscript.vim
  2. +6 −6 runtime/autoload/tar.vim
  3. +6 −3 runtime/autoload/vimball.vim
  4. +7 −7 runtime/autoload/zip.vim
  5. +11 −0 runtime/compiler/erlang.vim
  6. +3 −2 runtime/doc/autocmd.txt
  7. +12 −1 runtime/doc/develop.txt
  8. +2 −2 runtime/doc/mlang.txt
  9. +3 −4 runtime/doc/options.txt
  10. +14 −6 runtime/doc/pi_getscript.txt
  11. +12 −4 runtime/doc/pi_tar.txt
  12. +11 −6 runtime/doc/pi_vimball.txt
  13. +13 −10 runtime/doc/pi_zip.txt
  14. +41 −41 runtime/doc/syntax.txt
  15. +17 −1 runtime/doc/tags
  16. +27 −17 runtime/doc/todo.txt
  17. +10 −10 runtime/doc/various.txt
  18. +150 −0 runtime/ftplugin/erlang.vim
  19. +2 −2 runtime/ftplugin/logcheck.vim
  20. +9 −5 runtime/ftplugin/postscr.vim
  21. +106 −99 runtime/indent/erlang.vim
  22. +14 −2 runtime/indent/java.vim
  23. +1 −1 runtime/plugin/getscriptPlugin.vim
  24. +1 −1 runtime/plugin/tarPlugin.vim
  25. +1 −1 runtime/plugin/vimballPlugin.vim
  26. +4 −4 runtime/plugin/zipPlugin.vim
  27. +1 −1 runtime/spell/ga/ga_IE.diff
  28. +1 −1 runtime/spell/gd/gd_GB.diff
  29. +1 −1 runtime/spell/sv/sv_SE.diff
  30. +21 −1 runtime/syntax/c.vim
  31. +99 −62 runtime/syntax/d.vim
  32. +119 −222 runtime/syntax/erlang.vim
  33. +228 −319 runtime/syntax/fortran.vim
  34. +20 −9 runtime/syntax/gp.vim
  35. +27 −21 runtime/syntax/groovy.vim
  36. +295 −288 runtime/syntax/idl.vim
  37. +1 −1 runtime/syntax/mail.vim
  38. +50 −39 runtime/syntax/sh.vim
  39. +46 −14 runtime/syntax/tex.vim
  40. +2 −2 runtime/syntax/upstart.vim
  41. +30 −19 runtime/syntax/vim.vim
@@ -1,8 +1,8 @@
" ---------------------------------------------------------------------
" getscript.vim
" Author: Charles E. Campbell, Jr.
-" Date: May 31, 2011
-" Version: 33
+" Date: Jan 17, 2012
+" Version: 34
" Installing: :help glvs-install
" Usage: :help glvs
"
@@ -15,7 +15,7 @@
if exists("g:loaded_getscript")
finish
endif
-let g:loaded_getscript= "v33"
+let g:loaded_getscript= "v34"
if &cp
echoerr "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
finish
@@ -550,30 +550,42 @@ fun! s:GetOneScript(...)
" decompress
if sname =~ '\.bz2$'
" call Decho("decompress: attempt to bunzip2 ".sname)
- exe "silent !bunzip2 ".shellescape(sname)
+ exe "sil !bunzip2 ".shellescape(sname)
let sname= substitute(sname,'\.bz2$','','')
" call Decho("decompress: new sname<".sname."> after bunzip2")
elseif sname =~ '\.gz$'
" call Decho("decompress: attempt to gunzip ".sname)
- exe "silent !gunzip ".shellescape(sname)
+ exe "sil !gunzip ".shellescape(sname)
let sname= substitute(sname,'\.gz$','','')
" call Decho("decompress: new sname<".sname."> after gunzip")
elseif sname =~ '\.xz$'
" call Decho("decompress: attempt to unxz ".sname)
- exe "silent !unxz ".shellescape(sname)
+ exe "sil !unxz ".shellescape(sname)
let sname= substitute(sname,'\.xz$','','')
" call Decho("decompress: new sname<".sname."> after unxz")
else
" call Decho("no decompression needed")
endif
- " distribute archive(.zip, .tar, .vba) contents
+ " distribute archive(.zip, .tar, .vba, ...) contents
if sname =~ '\.zip$'
" call Decho("dearchive: attempt to unzip ".sname)
exe "silent !unzip -o ".shellescape(sname)
elseif sname =~ '\.tar$'
" call Decho("dearchive: attempt to untar ".sname)
exe "silent !tar -xvf ".shellescape(sname)
+ elseif sname =~ '\.tgz$'
+" call Decho("dearchive: attempt to untar+gunzip ".sname)
+ exe "silent !tar -zxvf ".shellescape(sname)
+ elseif sname =~ '\.taz$'
+" call Decho("dearchive: attempt to untar+uncompress ".sname)
+ exe "silent !tar -Zxvf ".shellescape(sname)
+ elseif sname =~ '\.tbz$'
+" call Decho("dearchive: attempt to untar+bunzip2 ".sname)
+ exe "silent !tar -jxvf ".shellescape(sname)
+ elseif sname =~ '\.txz$'
+" call Decho("dearchive: attempt to untar+xz ".sname)
+ exe "silent !tar -Jxvf ".shellescape(sname)
elseif sname =~ '\.vba$'
" call Decho("dearchive: attempt to handle a vimball: ".sname)
silent 1split
View
@@ -1,7 +1,7 @@
" tar.vim: Handles browsing tarfiles
" AUTOLOAD PORTION
-" Date: May 31, 2011
-" Version: 27
+" Date: Jan 17, 2012
+" Version: 28
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license)
"
@@ -22,7 +22,7 @@
if &cp || exists("g:loaded_tar")
finish
endif
-let g:loaded_tar= "v27"
+let g:loaded_tar= "v28"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of tar needs vim 7.2"
@@ -143,7 +143,7 @@ fun! tar#Browse(tarfile)
call setline(lastline+2,'" Browsing tarfile '.a:tarfile)
call setline(lastline+3,'" Select a file with cursor and press ENTER')
keepj $put =''
- keepj 0d
+ keepj sil! 0d
keepj $
let tarfile= a:tarfile
@@ -158,10 +158,10 @@ fun! tar#Browse(tarfile)
elseif tarfile =~# '\.lrp'
" call Decho("2: exe silent r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - "
- elseif tarfile =~# '\.bz2$'
+ elseif tarfile =~# '\.\(bz2\|tbz\|tb2\)$'
" call Decho("3: exe silent r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
- elseif tarfile =~# '\.lzma$'
+ elseif tarfile =~# '\.\(lzma\|tlz\)$'
" call Decho("3: exe silent r! lzma -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! lzma -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.\(xz\|txz\)$'
@@ -1,7 +1,7 @@
" vimball.vim : construct a file containing both paths and files
" Author: Charles E. Campbell, Jr.
-" Date: Sep 26, 2011
-" Version: 34
+" Date: Jan 17, 2012
+" Version: 35
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
" Copyright: (c) 2004-2011 by Charles E. Campbell, Jr.
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
@@ -14,7 +14,7 @@
if &cp || exists("g:loaded_vimball")
finish
endif
-let g:loaded_vimball = "v34"
+let g:loaded_vimball = "v35"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of vimball needs vim 7.2"
@@ -767,6 +767,9 @@ fun! vimball#RestoreSettings()
" call Dret("RestoreSettings")
endfun
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" ---------------------------------------------------------------------
" Modelines: {{{1
" vim: fdm=marker
View
@@ -1,10 +1,10 @@
" zip.vim: Handles browsing zipfiles
" AUTOLOAD PORTION
-" Date: May 24, 2011
-" Version: 24
+" Date: Jan 17, 2012
+" Version: 25
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license)
-" Copyright: Copyright (C) 2005-2011 Charles E. Campbell, Jr. {{{1
+" Copyright: Copyright (C) 2005-2012 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,
@@ -19,7 +19,7 @@
if &cp || exists("g:loaded_zip")
finish
endif
-let g:loaded_zip= "v24"
+let g:loaded_zip= "v25"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of zip needs vim 7.2"
@@ -104,12 +104,12 @@ fun! zip#Browse(zipfile)
" give header
call append(0, ['" zip.vim version '.g:loaded_zip,
- \ '" Browsing zipfile '.a:zipfile,
- \ '" Select a file with cursor and press ENTER'])
+ \ '" Browsing zipfile '.a:zipfile,
+ \ '" Select a file with cursor and press ENTER'])
keepj $
" call Decho("exe silent r! ".g:zip_unzipcmd." -l -- ".s:Escape(a:zipfile,1))
- exe "silent r! ".g:zip_unzipcmd." -Z -1 -- ".s:Escape(a:zipfile,1)
+ exe "keepj sil! r! ".g:zip_unzipcmd." -Z -1 -- ".s:Escape(a:zipfile,1)
if v:shell_error != 0
redraw!
echohl WarningMsg | echo "***warning*** (zip#Browse) ".fnameescape(a:zipfile)." is not a zip file" | echohl None
@@ -0,0 +1,11 @@
+" Vim compiler file
+" Compiler: Erlang
+" Maintainer: none, please volunteer!
+" Last Change: 2012 Jan 20
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "erlang"
+
+" TODO
View
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.3. Last change: 2011 Oct 26
+*autocmd.txt* For Vim version 7.3. Last change: 2012 Jan 20
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -699,7 +699,8 @@ MenuPopup Just before showing the popup menu (under the
QuickFixCmdPre Before a quickfix command is run (|:make|,
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,
|:lgrepadd|, |:vimgrep|, |:lvimgrep|,
- |:vimgrepadd|, |:lvimgrepadd|, |:cscope|).
+ |:vimgrepadd|, |:lvimgrepadd|, |:cscope|,
+ |:helpgrep|, |:lhelpgrep|).
The pattern is matched against the command
being run. When |:grep| is used but 'grepprg'
is set to "internal" it still matches "grep".
View
@@ -1,4 +1,4 @@
-*develop.txt* For Vim version 7.3. Last change: 2008 Dec 17
+*develop.txt* For Vim version 7.3. Last change: 2012 Jan 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -232,6 +232,17 @@ time shadows global declaration
new C++ reserved keyword
try Borland C++ doesn't like it to be used as a variable.
+clear Mac curses.h
+echo Mac curses.h
+instr Mac curses.h
+meta Mac curses.h
+newwin Mac curses.h
+nl Mac curses.h
+overwrite Mac curses.h
+refresh Mac curses.h
+scroll Mac curses.h
+typeahead Mac curses.h
+
basename() GNU string function
dirname() GNU string function
get_env_value() Linux system function
View
@@ -1,4 +1,4 @@
-*mlang.txt* For Vim version 7.3. Last change: 2010 Dec 11
+*mlang.txt* For Vim version 7.3. Last change: 2012 Jan 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -59,7 +59,7 @@ use of "-" and "_".
system. Some systems accept aliases like "en" or
"en_US", but some only accept the full specification
like "en_US.ISO_8859-1". On Unix systems you can use
- the this command to see what locales are supported: >
+ this command to see what locales are supported: >
:!locale -a
< With the "messages" argument the language used for
messages is set. This can be different when you want,
View
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.3. Last change: 2011 Dec 15
+*options.txt* For Vim version 7.3. Last change: 2012 Jan 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -301,9 +301,8 @@ You will not get back the 'list' value as it was the last time you edited
copying the value.
{not in Vi}
-:se[t] {option}< Set the local value of {option} to its global value by
- making it empty. Only makes sense for |global-local|
- options.
+:se[t] {option}< For |global-local| options: Remove the local value of
+ {option}, so that the global value will be used.
{not in Vi}
*:setg* *:setglobal*
@@ -1,15 +1,21 @@
-*pi_getscript.txt* For Vim version 7.0. Last change: 2011 May 31
+*pi_getscript.txt* For Vim version 7.0. Last change: 2011 Jun 23
>
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell, Jr.
<
Authors: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamilyA.Mbiz>
(remove NOSPAM from the email address)
*GetLatestVimScripts-copyright*
-Copyright: (c) 2004-2010 by Charles E. Campbell, Jr. *glvs-copyright*
- The VIM LICENSE applies to getscript.vim and
- pi_getscript.txt (see |copyright|) except use
- "getscript" instead of "Vim". No warranty, express or implied.
- Use At-Your-Own-Risk.
+Copyright: (c) 2004-2012 by Charles E. Campbell, Jr. *glvs-copyright*
+ The VIM LICENSE (see |copyright|) applies to the files in this
+ package, including getscriptPlugin.vim, getscript.vim,
+ GetLatestVimScripts.dist, and pi_getscript.txt, except use "getscript"
+ instead of "VIM". Like anything else that's free, getscript and its
+ associated files are provided *as is* and comes with no warranty of
+ any kind, either expressed or implied. No guarantees of
+ merchantability. No guarantees of suitability for any purpose. 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. Use at your own risk!
Getscript is a plugin that simplifies retrieval of the latest versions of the
scripts that you yourself use! Typing |:GLVS| will invoke getscript; it will
@@ -374,6 +380,8 @@ The AutoInstall process will:
==============================================================================
9. GetLatestVimScripts History *getscript-history* *glvs-hist* {{{1
+v44 Jun 23, 2011 : * handles additional decompression options for tarballs
+ (tgz taz tbz txz)
v33 May 31, 2011 : * using fnameescape() instead of escape()
* *.xz support
v32 Jun 19, 2010 : * (Jan Steffens) added support for xz compression
View
@@ -1,14 +1,21 @@
-*pi_tar.txt* For Vim version 7.3. Last change: 2011 May 31
+*pi_tar.txt* For Vim version 7.3. Last change: 2012 Jan 17
+====================+
| Tar File Interface |
+====================+
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
(remove NOSPAM from Campbell's email first)
-Copyright 2005-2010: The GPL (gnu public license) applies to *tar-copyright*
- tar.vim, tarPlugin.vim, and pi_tar.txt.
- No warranty, express or implied. Use At-Your-Own-Risk.
+Copyright 2005-2012: *tar-copyright*
+ The VIM LICENSE (see |copyright|) applies to the files in this
+ package, including tarPlugin.vim, tar.vim, and pi_tar.txt. Like
+ anything else that's except use "tar.vim" instead of "VIM". Like
+ anything else that's free, tar.vim and its associated files are
+ provided *as is* and comes with no warranty of any kind, either
+ expressed or implied. No guarantees of merchantability. No
+ guarantees of suitability for any purpose. 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. Use at your own risk!
==============================================================================
1. Contents *tar* *tar-contents*
@@ -83,6 +90,7 @@ Copyright 2005-2010: The GPL (gnu public license) applies to *tar-copyright*
4. History *tar-history*
+ v28 Jun 23, 2011 * a few more decompression options (tbz tb2 txz)
v27 May 31, 2011 * moved cygwin detection before g:tar_copycmd handling
* inserted additional |:keepj| modifiers
* changed silent to sil! (|:silent|)
View
@@ -1,16 +1,21 @@
-*pi_vimball.txt* For Vim version 7.3. Last change: 2011 Sep 26
+*pi_vimball.txt* For Vim version 7.3. Last change: 2012 Jan 17
----------------
Vimball Archiver
----------------
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
(remove NOSPAM from Campbell's email first)
-Copyright: (c) 2004-2011 by Charles E. Campbell, Jr. *Vimball-copyright*
- The VIM LICENSE applies to Vimball.vim, and Vimball.txt
- (see |copyright|) except use "Vimball" instead of "Vim".
- No warranty, express or implied.
- Use At-Your-Own-Risk!
+Copyright: (c) 2004-2012 by Charles E. Campbell, Jr. *Vimball-copyright*
+ The VIM LICENSE (see |copyright|) applies to the files in this
+ package, including vimballPlugin.vim, vimball.vim, and pi_vimball.txt.
+ except use "vimball" instead of "VIM". Like anything else that's free,
+ vimball.vim and its associated files are provided *as is* and comes with
+ no warranty of any kind, either expressed or implied. No guarantees
+ of merchantability. No guarantees of suitability for any purpose. 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. Use at your own risk!
==============================================================================
1. Contents *vba* *vimball* *vimball-contents*
Oops, something went wrong.

0 comments on commit 591d30c

Please sign in to comment.