~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to runtime/plugin/zipPlugin.vim

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-26 13:42:18 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080626134218-703edeyb8k70qpbz
Tags: 1:7.1.314-3ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Enable detection of GNU screen as a mouse-capable terminal.
  - Add NoDisplay=true to gvim.desktop.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Build-depend on libxt-dev.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
* Fixes various vulnerabilities due to improper quoting of 'execute'
  arguments (LP: #240216).
* Drop fixes for upgrade problems from Ubuntu 6.06 LTS; direct upgrades
  from 6.06 to 8.10 will not be supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
" zipPlugin.vim: Handles browsing zipfiles
2
2
"            PLUGIN PORTION
3
 
" Date:                 Jul 18, 2006
 
3
" Date:                 Oct 05, 2007
4
4
" Maintainer:   Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
5
5
" License:              Vim License  (see vim's :help license)
6
6
" Copyright:    Copyright (C) 2005,2006 Charles E. Campbell, Jr. {{{1
20
20
if &cp || exists("g:loaded_zipPlugin")
21
21
 finish
22
22
endif
23
 
let g:loaded_zipPlugin = 1
 
23
let g:loaded_zipPlugin = "v18"
24
24
let s:keepcpo          = &cpo
25
25
set cpo&vim
26
26
 
40
40
  au FileWriteCmd zipfile:*/*   call zip#Write(expand("<amatch>"))
41
41
 endif
42
42
 
43
 
 au BufReadCmd   *.zip          call zip#Browse(expand("<amatch>"))
 
43
 au BufReadCmd   *.zip,*.jar,*.xpi,*.war,*.ear          call zip#Browse(expand("<amatch>"))
44
44
augroup END
45
45
 
46
46
" ---------------------------------------------------------------------