diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-07-04 22:50:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-07-04 22:50:40 +0200 |
commit | 94f76b7fd66aaa1fcf523d79585530c6c5753514 (patch) | |
tree | b25cdbed254cd1d9fefa37a7c422c257f8874631 /runtime/plugin | |
parent | ba46075731a00cdc7825dd1feea1272cd475da36 (diff) |
updated for version 7.3.1308v7.3.1308
Problem: Typos in MS-Windows build settings and README.
Solution: Minor changes to MS-Windows files.
Diffstat (limited to 'runtime/plugin')
-rw-r--r-- | runtime/plugin/zipPlugin.vim | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/runtime/plugin/zipPlugin.vim b/runtime/plugin/zipPlugin.vim index c86230cc53..e9bd0dc4bd 100644 --- a/runtime/plugin/zipPlugin.vim +++ b/runtime/plugin/zipPlugin.vim @@ -1,9 +1,9 @@ " zipPlugin.vim: Handles browsing zipfiles " PLUGIN PORTION -" Date: Nov 15, 2012 +" Date: Jun 07, 2013 " Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> " License: Vim License (see vim's :help license) -" Copyright: Copyright (C) 2005-2012 Charles E. Campbell {{{1 +" Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{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, @@ -20,11 +20,17 @@ if &cp || exists("g:loaded_zipPlugin") finish endif -let g:loaded_zipPlugin = "v26" +let g:loaded_zipPlugin = "v27" let s:keepcpo = &cpo set cpo&vim " --------------------------------------------------------------------- +" Options: {{{1 +if !exists("g:zipPlugin_ext") + let g:zipPlugin_ext= '*.zip,*.jar,*.xpi,*.ja,*.war,*.ear,*.celzip,*.oxt,*.kmz,*.wsz,*.xap,*.docx,*.docm,*.dotx,*.dotm,*.potx,*.potm,*.ppsx,*.ppsm,*.pptx,*.pptm,*.ppam,*.sldx,*.thmx,*.xlam,*.xlsx,*.xlsm,*.xlsb,*.xltx,*.xltm,*.xlam,*.crtx,*.vdw,*.glox,*.gcsx,*.gqsx' +endif + +" --------------------------------------------------------------------- " Public Interface: {{{1 augroup zip au! @@ -40,7 +46,7 @@ augroup zip au FileWriteCmd zipfile:*/* call zip#Write(expand("<amatch>")) endif - au BufReadCmd *.zip,*.jar,*.xpi,*.ja,*.war,*.ear,*.celzip,*.oxt,*.kmz,*.wsz,*.xap,*.docx,*.docm,*.dotx,*.dotm,*.potx,*.potm,*.ppsx,*.ppsm,*.pptx,*.pptm,*.ppam,*.sldx,*.thmx,*.xlam,*.xlsx,*.xlsm,*.xlsb,*.xltx,*.xltm,*.xlam,*.crtx,*.vdw,*.glox,*.gcsx,*.gqsx call zip#Browse(expand("<amatch>")) + exe "au BufReadCmd ".g:zipPlugin_ext.' call zip#Browse(expand("<amatch>"))' augroup END " --------------------------------------------------------------------- |