neovim/runtime/autoload
zeertzjq 6f1cbfc9ab vim-patch:1c67342: runtime(zip): MS-Windows: handle files with spaces properly
This change does the following 3 things:

1) non need to quote the file to be extracted

The zipfile plugin used to quote and fnameescape() the path to the
file to be extracted. However testing with unzip showed, that while this
works on Linux on Windows you shall not escape the blanks in filenames.

As long as the pathname is properly quoted, this words on Linux and
Windows.

2) reset shellslash (MS-Windows only)

When shellslash is set, filenames to the zip archive will be forward
quoted. However since the filename is eventually handed over to the
unzip command, we need to make sure to use native paths so that the
command will understand what file to open. Therefore, if shellslash is
set (and the shell is cmd.exe), replace any forward slashes by the
expected backslashes

3) style:
Use tabs for the Header, remove a few comments in the s:Escape() and
zip#read() functions

fixes: vim/vim#14998

1c67342912

Co-authored-by: Christian Brabandt <cb@256bit.org>
2024-06-16 05:51:53 +08:00
..
cargo vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
dist vim-patch:b2a4c110a5d1 2023-11-05 21:52:02 +01:00
provider feat: allow opting in to builtin clipboard providers (#28083) 2024-03-28 15:17:08 -05:00
remote refactor: rewrite python provider in lua 2024-01-22 22:36:40 +01:00
rust vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
xml
ada.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
adacomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
bitbake.vim vim-patch:b529cfbd04c0 (#19501) 2022-07-26 11:26:23 +02:00
cargo.vim vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
ccomplete.lua vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
ccomplete.vim dist: generated version of ccomplete.vim (#21623) 2023-01-05 11:00:32 -05:00
clojurecomplete.vim vim-patch:46eea444d (#17920) 2022-03-30 12:12:12 +01:00
context.vim
contextcomplete.vim
csscomplete.vim vim-patch:34cc7d8c034f #15753 2021-09-22 06:12:06 -07:00
decada.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
freebasic.vim vim-patch:0d878b95d8f9 (#19197) 2022-07-02 11:06:03 +02:00
gnat.vim
gzip.vim vim-patch:cd8a3eaf5348 2023-11-05 21:52:02 +01:00
hare.vim vim-patch:9.1.0442: hare runtime files outdated (#29011) 2024-05-26 07:11:50 +08:00
haskellcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
htmlcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
javascriptcomplete.vim vim-patch:a0fddaa2f4b7 2023-08-21 20:32:28 +09:00
modula2.vim vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
msgpack.vim fix(messages): use "Vimscript" instead of "VimL" #24111 2023-06-22 04:09:14 -07:00
netrw_gitignore.vim runtime/netrw: 5ef1c6a4838a9629b793f3ae676f72a764171b00 2021-02-15 21:16:27 -05:00
netrw.vim vim-patch:4407461: runtime(netrw): correctly test for windows in NetrwGlob() (#29330) 2024-06-14 16:28:55 +08:00
netrwFileHandlers.vim vim-patch:f9ca139e3aa1 (#27554) 2024-02-21 06:30:18 +08:00
netrwSettings.vim vim-patch:1e34b95e4402 2024-05-09 00:15:08 +02:00
paste.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
phpcomplete.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
provider.vim
python3complete.vim vim-patch:46eea444d (#17920) 2022-03-30 12:12:12 +01:00
python.vim vim-patch:partial:dd60c365cd26 (#22437) 2023-02-28 09:34:27 +01:00
pythoncomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
README.txt
RstFold.vim
rubycomplete.vim vim-patch:d08059ab48b8 2024-01-02 11:43:18 +01:00
rust.vim vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
rustfmt.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
shada.vim fix(messages): use "Vimscript" instead of "VimL" #24111 2023-06-22 04:09:14 -07:00
spellfile.vim
sqlcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
syntaxcomplete.vim vim-patch:4c295027a426 2021-05-02 13:00:38 -04:00
tar.vim vim-patch:f9ca139e3aa1 (#27554) 2024-02-21 06:30:18 +08:00
tutor.vim refactor(tutor): cleanup 2023-09-26 06:41:53 -07:00
vimexpect.vim fix(typo): overriden -> overridden (RE: PR #14159) (#15360) 2021-09-17 13:07:00 -04:00
xmlcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
xmlformat.vim xmlformat.vim: patch runtime/autoload to eab6dff19 2020-11-22 18:05:02 +01:00
zip.vim vim-patch:1c67342: runtime(zip): MS-Windows: handle files with spaces properly 2024-06-16 05:51:53 +08:00

The autoload directory is for standard Vim autoload scripts.

These are functions used by plugins and for general use.  They will be loaded
automatically when the function is invoked.  See ":help autoload".

gzip.vim	for editing compressed files
netrw*.vim	browsing (remote) directories and editing remote files
tar.vim		browsing tar files
zip.vim		browsing zip files
paste.vim	common code for mswin.vim, menu.vim and macmap.vim
spellfile.vim	downloading of a missing spell file

Omni completion files:
ccomplete.vim		C
csscomplete.vim		HTML / CSS
htmlcomplete.vim	HTML
javascriptcomplete.vim  Javascript
phpcomplete.vim		PHP
pythoncomplete.vim	Python
rubycomplete.vim	Ruby
syntaxcomplete.vim	from syntax highlighting
xmlcomplete.vim		XML (uses files in the xml directory)