neovim/runtime/autoload
Christian Clason b329a21bd3 vim-patch:3d37231437fc
runtime(tar): improve the error detection

Do not rely on the fact, that the last line matches warning, error,
inappropriate or unrecognized to determine if an error occurred. It
could also be a file, contains such a keyword.

So make the error detection slightly more strict and only assume an
error occured, if in addition to those 4 keywords, also a space matches
(this assumes the error message contains a space), which luckily on Unix
not many files match by default.

The whole if condition seems however slightly dubious.  In case an error
happened, this would probably already be caught in the previous if
statement, since this checks for the return code of the tar program.

There may however be tar implementations, that do not set the exit code
for some kind of error (but print an error message)? But let's keep this
check for now, not many people have noticed this behaviour until now, so
it seems to work reasonably well anyhow.

related: vim/vim#6425
fixes: vim/vim#13489

3d37231437

Co-authored-by: Christian Brabandt <cb@256bit.org>
2023-11-05 21:56:56 +01: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 fix(clipboard): don't pass --foreground to wl-copy (#25481) 2023-10-03 11:24:33 +08:00
remote runtime: support once on s:GetAutocmdPrefix (#16457) 2021-12-10 12:28:55 -07:00
rust vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
xml
zig vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
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 vim-patch:46fceaaa8d14 2017-04-29 01:47:36 +02:00
contextcomplete.vim vim-patch:46fceaaa8d14 2017-04-29 01:47:36 +02:00
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
haskellcomplete.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
health.vim fix(checkhealth): fix crash due to incorrect argument type 2023-04-16 12:26:13 +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
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:650dcfc8d12e 2023-10-28 00:24:40 +02:00
netrwFileHandlers.vim vim-patch:1d59aa1fdfb1 2021-05-01 01:37:13 -04:00
netrwSettings.vim vim-patch:b7398fe41c9e (#23627) 2023-05-15 09:38:32 +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 Add overlapped option to jobstart 2020-06-10 22:21:14 +09:00
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 vim-patch:4c05fa08c973 2019-07-29 20:50:07 +02:00
rubycomplete.vim vim-patch:4d8f476176ea (#15612) 2021-09-10 08:48:27 +02: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 runtime: update g:spellfile_URL to URL used in Vim 8 2020-09-17 13:31:55 +02:00
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:3d37231437fc 2023-11-05 21:56:56 +01:00
tohtml.vim vim-patch:86cfb39030eb 2023-09-09 08:29:50 +02: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:cd8a3eaf5348 2023-11-05 21:52:02 +01: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)