diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:27:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:27:07 +0000 |
commit | 83e138c6062947ab8ab8f09358a467ab74795630 (patch) | |
tree | 3f0b49d17be1acfe2f3f922756e1a58412fbeda6 /runtime/plugin/tarPlugin.vim | |
parent | c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97 (diff) |
updated for version 7.1a
Diffstat (limited to 'runtime/plugin/tarPlugin.vim')
-rw-r--r-- | runtime/plugin/tarPlugin.vim | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/runtime/plugin/tarPlugin.vim b/runtime/plugin/tarPlugin.vim index 506b4313d3..e1b87fee81 100644 --- a/runtime/plugin/tarPlugin.vim +++ b/runtime/plugin/tarPlugin.vim @@ -1,5 +1,6 @@ " tarPlugin.vim -- a Vim plugin for browsing tarfiles -" Copyright (c) 2002, Michael C. Toren <mct@toren.net> +" Original was copyright (c) 2002, Michael C. Toren <mct@toren.net> +" Modified by Charles E. Campbell, Jr. " Distributed under the GNU General Public License. " " Updates are available from <http://michael.toren.net/code/>. If you @@ -8,7 +9,17 @@ " Also look there for further comments and documentation. " " This part only sets the autocommands. The functions are in autoload/tar.vim. +" --------------------------------------------------------------------- +" Load Once: {{{1 +if &cp || exists("g:loaded_tarPlugin") + finish +endif +let g:loaded_tarPlugin = 1 +let s:keepcpo = &cpo +set cpo&vim +" --------------------------------------------------------------------- +" Public Interface: {{{1 augroup tar au! au BufReadCmd tarfile:* call tar#Read(expand("<amatch>"), 1) @@ -30,4 +41,8 @@ augroup tar au BufReadCmd *.tgz call tar#Browse(expand("<amatch>")) augroup END -" vim: ts=8 +" --------------------------------------------------------------------- +" Restoration And Modelines: {{{1 +" vim: fdm=marker +let &cpo= s:keepcpo +unlet s:keepcpo |