runtime(misc): Add support for lz4 to tar & gzip plugin

while at it, clean up the tar plugin a bit and sort the patterns for the
tar and gzip plugin

References:
- https://github.com/lz4/lz4
- https://lz4.org/

closes: #16591

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Corpulent Robin <177767857+corpulentrobin@users.noreply.github.com>
This commit is contained in:
Corpulent Robin
2025-02-06 21:10:49 +01:00
committed by Christian Brabandt
parent cde8ff63e2
commit b69cd52447
4 changed files with 90 additions and 146 deletions

View File

@ -1,4 +1,4 @@
*pi_gzip.txt* For Vim version 9.1. Last change: 2023 Nov 14
*pi_gzip.txt* For Vim version 9.1. Last change: 2025 Feb 06
VIM REFERENCE MANUAL by Bram Moolenaar
@ -28,12 +28,13 @@ The plugin installs autocommands to intercept reading and writing of files
with these extensions:
extension compression ~
*.Z compress (Lempel-Ziv)
*.gz gzip
*.bz2 bzip2
*.gz gzip
*.lz lzip
*.lz4 lz4
*.lzma lzma
*.xz xz
*.lz lzip
*.Z compress (Lempel-Ziv)
*.zst zstd
That's actually the only thing you need to know. There are no options.