Skip to content

Commit a359c9c

Browse files
committed
runtime(zip): add *.whl to the list of zip extensions
This commits adds the extension *.whl to the list of zip extensions. Wheel (WHL) files are binary distribution files for python packages. Reference: https://packaging.python.org/en/latest/specifications/binary-distribution-format/ fixes: #17038 Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 7fb9081 commit a359c9c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

runtime/doc/pi_zip.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
106106
\ *.dotm,*.dotx,*.ear,*.epub,*.gcsx,*.glox,*.gqsx,*.ja,*.jar,*.kmz,
107107
\ *.odb,*.odc,*.odf,*.odg,*.odi,*.odm,*.odp,*.ods,*.odt,*.otc,*.otf,
108108
\ *.otg,*.oth,*.oti,*.otp,*.ots,*.ott,*.oxt,*.potm,*.potx,*.ppam,
109-
\ *.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.wsz,*.xap,
110-
\ *.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip'
109+
\ *.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.whl,*.wsz,
110+
\ *.xap,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip'
111111
112112
==============================================================================
113113
4. History *zip-history* {{{1

runtime/plugin/zipPlugin.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
" Date: Dec 07, 2021
44
" Maintainer: This runtime file is looking for a new maintainer.
55
" Former Maintainer: Charles E Campbell
6+
" Last Change:
7+
" 2025 Apr 02 by Vim Project: add *.whl to list of zip extensions (#17038)
68
" License: Vim License (see vim's :help license)
79
" Copyright: Copyright (C) 2005-2016 Charles E. Campbell {{{1
810
" Permission is hereby granted to use and distribute this code,
@@ -28,7 +30,7 @@ set cpo&vim
2830
" ---------------------------------------------------------------------
2931
" Options: {{{1
3032
if !exists("g:zipPlugin_ext")
31-
let g:zipPlugin_ext='*.aar,*.apk,*.celzip,*.crtx,*.docm,*.docx,*.dotm,*.dotx,*.ear,*.epub,*.gcsx,*.glox,*.gqsx,*.ja,*.jar,*.kmz,*.odb,*.odc,*.odf,*.odg,*.odi,*.odm,*.odp,*.ods,*.odt,*.otc,*.otf,*.otg,*.oth,*.oti,*.otp,*.ots,*.ott,*.oxt,*.potm,*.potx,*.ppam,*.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.wsz,*.xap,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip'
33+
let g:zipPlugin_ext='*.aar,*.apk,*.celzip,*.crtx,*.docm,*.docx,*.dotm,*.dotx,*.ear,*.epub,*.gcsx,*.glox,*.gqsx,*.ja,*.jar,*.kmz,*.odb,*.odc,*.odf,*.odg,*.odi,*.odm,*.odp,*.ods,*.odt,*.otc,*.otf,*.otg,*.oth,*.oti,*.otp,*.ots,*.ott,*.oxt,*.potm,*.potx,*.ppam,*.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.whl,*.wsz,*.xap,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip'
3234
endif
3335

3436
" ---------------------------------------------------------------------

0 commit comments

Comments
 (0)