summaryrefslogtreecommitdiffstats
path: root/runtime/plugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-24 22:58:06 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-24 22:58:06 +0000
commit8c8de839325eda0bed68917d18179d2003b344d1 (patch)
treec65b80f0a627f2e77385a07a62ee4206465cbc22 /runtime/plugin
parent864207de089119377a1e1e5d411307d8eb57399e (diff)
updated for version 7.2av7.2a
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/getscriptPlugin.vim8
-rw-r--r--runtime/plugin/tarPlugin.vim21
2 files changed, 15 insertions, 14 deletions
diff --git a/runtime/plugin/getscriptPlugin.vim b/runtime/plugin/getscriptPlugin.vim
index b871bc1d2c..7fe103d618 100644
--- a/runtime/plugin/getscriptPlugin.vim
+++ b/runtime/plugin/getscriptPlugin.vim
@@ -1,7 +1,7 @@
" ---------------------------------------------------------------------
" getscriptPlugin.vim
" Author: Charles E. Campbell, Jr.
-" Date: Jul 18, 2006
+" Date: Jan 07, 2008
" Installing: :help glvs-install
" Usage: :help glvs
"
@@ -19,8 +19,7 @@ if &cp || exists("g:loaded_getscriptPlugin")
endif
finish
endif
-let g:loaded_getscriptPlugin = 1
-let s:keepfo = &fo
+let g:loaded_getscriptPlugin = "v30"
let s:keepcpo = &cpo
set cpo&vim
@@ -30,9 +29,10 @@ com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
com! -nargs=0 GetScripts call getscript#GetLatestVimScripts()
silent! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
+" ---------------------------------------------------------------------
" Restore Options: {{{1
-let &fo = s:keepfo
let &cpo= s:keepcpo
+unlet s:keepcpo
" ---------------------------------------------------------------------
" vim: ts=8 sts=2 fdm=marker nowrap
diff --git a/runtime/plugin/tarPlugin.vim b/runtime/plugin/tarPlugin.vim
index e1b87fee81..42fd96a319 100644
--- a/runtime/plugin/tarPlugin.vim
+++ b/runtime/plugin/tarPlugin.vim
@@ -14,7 +14,7 @@
if &cp || exists("g:loaded_tarPlugin")
finish
endif
-let g:loaded_tarPlugin = 1
+let g:loaded_tarPlugin = "v16"
let s:keepcpo = &cpo
set cpo&vim
@@ -22,20 +22,21 @@ set cpo&vim
" Public Interface: {{{1
augroup tar
au!
- au BufReadCmd tarfile:* call tar#Read(expand("<amatch>"), 1)
- au FileReadCmd tarfile:* call tar#Read(expand("<amatch>"), 0)
- au BufWriteCmd tarfile:* call tar#Write(expand("<amatch>"))
- au FileWriteCmd tarfile:* call tar#Write(expand("<amatch>"))
+ au BufReadCmd tarfile::* call tar#Read(expand("<amatch>"), 1)
+ au FileReadCmd tarfile::* call tar#Read(expand("<amatch>"), 0)
+ au BufWriteCmd tarfile::* call tar#Write(expand("<amatch>"))
+ au FileWriteCmd tarfile::* call tar#Write(expand("<amatch>"))
if has("unix")
- au BufReadCmd tarfile:*/* call tar#Read(expand("<amatch>"), 1)
- au FileReadCmd tarfile:*/* call tar#Read(expand("<amatch>"), 0)
- au BufWriteCmd tarfile:*/* call tar#Write(expand("<amatch>"))
- au FileWriteCmd tarfile:*/* call tar#Write(expand("<amatch>"))
+ au BufReadCmd tarfile::*/* call tar#Read(expand("<amatch>"), 1)
+ au FileReadCmd tarfile::*/* call tar#Read(expand("<amatch>"), 0)
+ au BufWriteCmd tarfile::*/* call tar#Write(expand("<amatch>"))
+ au FileWriteCmd tarfile::*/* call tar#Write(expand("<amatch>"))
endif
- au BufReadCmd *.tar call tar#Browse(expand("<amatch>"))
au BufReadCmd *.tar.gz call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.tar call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.lrp call tar#Browse(expand("<amatch>"))
au BufReadCmd *.tar.bz2 call tar#Browse(expand("<amatch>"))
au BufReadCmd *.tar.Z call tar#Browse(expand("<amatch>"))
au BufReadCmd *.tgz call tar#Browse(expand("<amatch>"))