neovim/runtime
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
..
autoload vim-patch:1c67342: runtime(zip): MS-Windows: handle files with spaces properly 2024-06-16 05:51:53 +08:00
colors vim-patch:9.1.0476: Cannot see matched text in popup menu 2024-06-15 04:47:23 +08:00
compiler
doc vim-patch:f4bc59c: runtime(doc): add another tag for vim-shebang feature (#29356) 2024-06-15 22:26:36 +08:00
ftplugin vim-patch:9.1.0486: filetype: Snakemake files are not recognized 2024-06-15 10:27:59 +02:00
indent
keymap vim-patch:79a14c0: runtime(keymap): include Georgian keymap 2024-06-14 23:58:27 +02:00
lua vim-patch:9.1.0486: filetype: Snakemake files are not recognized 2024-06-15 10:27:59 +02:00
macros
pack/dist/opt vim-patch:partial:9.1.0482: termdebug plugin needs more love (#29329) 2024-06-14 16:37:38 +08:00
plugin
queries
spell
syntax vim-patch:ae321b5: runtime(vim): Update base-syntax, match shebang lines (vim/vim#15011) (#29351) 2024-06-15 21:28:23 +08:00
tools
tutor
CMakeLists.txt
delmenu.vim
filetype.lua
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim
neovim.ico
nvim.appdata.xml
nvim.desktop
nvim.png
optwin.vim
synmenu.vim