From cca6dc0ae2169ed24852ed83ff64bf797bdd6d71 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 16 May 2026 16:28:32 +0800 Subject: vim-patch:591db92: runtime(zip,tar): Add support for compressed .cbz and .cbt files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *.cbz and *.cbt files are just zip and tar files for comic books. https://en.wikipedia.org/wiki/Comic_book_archive closes: vim/vim#20206 https://github.com/vim/vim/commit/591db923bae1657e788f6bb0e6d4527448c72041 Co-authored-by: Phạm Bình An --- runtime/plugin/zipPlugin.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/plugin/zipPlugin.vim') diff --git a/runtime/plugin/zipPlugin.vim b/runtime/plugin/zipPlugin.vim index a9ab12158b..02d5e978da 100644 --- a/runtime/plugin/zipPlugin.vim +++ b/runtime/plugin/zipPlugin.vim @@ -6,6 +6,7 @@ " Last Change: " 2025 Apr 02 by Vim Project: add *.whl to list of zip extensions (#17038) " 2025 Oct 06 by MultisampledNight: add *.pkpass to list of zip extensions (#18501) +" 2026 May 16 by Vim Project: add .cbz extension (#20206) " License: Vim License (see vim's :help license) " Copyright: Copyright (C) 2005-2016 Charles E. Campbell {{{1 " Permission is hereby granted to use and distribute this code, @@ -31,7 +32,7 @@ set cpo&vim " --------------------------------------------------------------------- " Options: {{{1 if !exists("g:zipPlugin_ext") - 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,*.pkpass,*.potm,*.potx,*.ppam,*.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.whl,*.wsz,*.xap,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip' + let g:zipPlugin_ext='*.aar,*.apk,*.cbz,*.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,*.pkpass,*.potm,*.potx,*.ppam,*.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.whl,*.wsz,*.xap,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip' endif " --------------------------------------------------------------------- -- cgit